Part Number Hot Search : 
1102F ADP1196 GP2Y1010 1HN60 IR3310S FP254 2SB12 TA31002
Product Description
Full Text Search
 

To Download MCP4331 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  ? 2009 microchip technology inc. ds22233a-page 1 mcp434x/436x features ? quad resistor network ? potentiometer or rheostat configuration options ? resistor network resolution - 7-bit: 128 resistors (129 taps) - 8-bit: 256 resistors (257 taps) ?r ab resistances options of: -5k -10k -50k - 100 k ? zero scale to full scale wiper operation ? low wiper resistance: 75 (typical) ? low tempco: - absolute (rheostat): 50 ppm typical (0c to 70c) - ratiometric (potentiometer): 15 ppm typical ? non-volatile memory - automatic recall of saved wiper setting - wiperlock? technology ? spi serial interface (10 mhz, modes 0,0 & 1,1) - high-speed read/writes to wiper registers - read/write to data eeprom registers - serially enabled eeprom write protect ? resistor network terminal disconnect feature via terminal control (tcon) register ? reset input pin ? write protect feature: - hardware write protect (wp ) control pin - software write protect (wp) configuration bit ? brown-out reset protection (1.5v typical) ? serial interface inactive current (2.5 ua typical) ? high-voltage tolerant digital inputs: up to 12.5v ? supports split rail applications ? internal weak pull-up on all digital inputs ? wide operating voltage: - 2.7v to 5.5v - device characteristics specified - 1.8v to 5.5v - device operation ? wide bandwidth (-3 db) operation: - 2 mhz (typical) for 5.0 k device ? extended temperature range (-40c to +125c) package types (top view) mcp43x1 quad potentiometers tssop 1 2 3 4 14 15 17 18 p2a p2w 4x4 qfn 6 7 89 12 13 reset sdo wp p0a p1a p1w sdi p3b sck cs 19 20 p1b p3a p3w v dd mcp43x2 quad rheostat tssop 5 v ss 10 p0w 11 p0b 16 p2b 1 2 3 4 17 18 19 20 reset sdo wp v dd 5 6 7 14 15 16 p0w p0b p0a p1a p1w p1b v ss cs sdi sck 8 9 10 p3b p3w p3a 12 12 p2w p2a p2b 11 1 2 3 4 11 12 13 14 p0b sdo p0w v dd 5 6 7 8 9 10 p2w p1w p2b p3b p3w p1b v ss cs sdi sck ep 21 7/8-bit quad spi digital pot with non-volatile memory
mcp434x/436x ds22233a-page 2 ? 2009 microchip technology inc. device block diagram device features device # of pots wiper configuration control interface memory type wiperlock technology por wiper setting resistance (typical) # of taps v dd operating range (2) r ab options (k ) wiper - r w ( ) MCP4331 (3) 4 potentiometer (1) spi ram no mid-scale 5.0, 10.0, 50.0, 100.0 75 129 1.8v to 5.5v mcp4332 (3) 4 rheostat spi ram no mid-scale 5.0, 10.0, 50.0, 100.0 75 129 1.8v to 5.5v mcp4341 4 potentiometer (1) spi ee yes nv wiper 5.0, 10.0, 50.0, 100.0 75 129 2.7v to 5.5v mcp4342 4 rheostat spi ee yes nv wiper 5.0, 10.0, 50.0, 100.0 75 129 2.7v to 5.5v mcp4351 (3) 4 potentiometer (1) spi ram no mid-scale 5.0, 10.0, 50.0, 100.0 75 257 1.8v to 5.5v mcp4352 (3) 4 rheostat spi ram no mid-scale 5.0, 10.0, 50.0, 100.0 75 257 1.8v to 5.5v mcp4361 4 potentiometer (1) spi ee yes nv wiper 5.0, 10.0, 50.0, 100.0 75 257 2.7v to 5.5v mcp4362 4 rheostat spi ee yes nv wiper 5.0, 10.0, 50.0, 100.0 75 257 2.7v to 5.5v note 1: floating either terminal (a or b) allows the devi ce to be used as a rheostat (variable resistor). 2: analog characteristics only tested from 2.7v to 5.5v unless otherwise noted. 3: please check microchip web site for device release and availability. power-up/ brown-out control v dd v ss spi serial interface module & control logic (wiperlock? technology) resistor network 0 (pot 0) wiper 0 & tcon0 register resistor network 1 (pot 1) wiper 1 & tcon0 register cs sck sdi sdo wp reset memory (16x9) wiper0 (v & nv) wiper1 (v & nv) tcon0 status data eeprom (5 x 9-bits) p0a p0w p0b p1a p1w p1b resistor network 2 (pot 2) wiper 2 & tcon1 register p2a p2w p2b resistor network 3 (pot 3) wiper 3 & tcon1 register p3a p3w p3b wiper2 (v & nv) wiper3 (v & nv) tcon1
? 2009 microchip technology inc. ds22233a-page 3 mcp434x/436x 1.0 electrical characteristics absolute maximum ratings ? voltage on v dd with respect to v ss ................ -0.6v to +7.0v voltage on cs , sck, sdi, sdi/sdo, wp , and reset with respect to v ss ................................... -0.6v to 12.5v voltage on all other pins (pxa, pxw, pxb, and sdo) with respect to v ss ............................ -0.3v to v dd + 0.3v input clamp current, i ik (v i < 0, v i > v dd , v i > v pp on hv pins) ......................20 ma output clamp current, i ok (v o < 0 or v o > v dd ) ..................................................20 ma maximum output current sunk by any output pin ......................................................................................25 ma maximum output current sourced by any output pin ......................................................................................25 ma maximum current out of v ss pin .................................100 ma maximum current into v dd pin ....................................100 ma maximum current into p x a, p x w & p x b pins ............2.5 ma storage temperature ....................................-65c to +150c ambient temperature with power applied .....................................................................-40c to +125c package power dissipation (t a = +50c, t j = +150c) tssop-14................................................................1000 mw tssop-20................................................................ 1110 mw qfn-20 (4x4) ...........................................................2320 mw soldering temperature of leads (10 seconds) ............. +300c esd protection on all pins ................................... 4 kv (hbm), .......................................................................... 300v (mm) maximum junction temperature (t j ) ......................... +150c ? notice: stresses above those listed under ?maximum ratings? may cause permanent dam age to the device. this is a stress rating only and functional operation of the device at those or any other conditions above those indicated in the operational listings of this specification is not implied. exposure to maximum rating conditions for extended periods may affect device reliability.
mcp434x/436x ds22233a-page 4 ? 2009 microchip technology inc. ac/dc characteristics dc characteristics standard operating conditions (unless otherwise specified) operating temperature ?40c t a +125c (extended) all parameters apply across the specif ied operating ranges unless noted. v dd = +2.7v to 5.5v, 5 k , 10 k , 50 k , 100 k devices. typical specifications represent values for v dd = 5.5v, t a = +25c. parameters sym min typ max units conditions supply voltage v dd 2.7 ? 5.5 v 1.8 ? 2.7 v serial interface only. cs , sdi, sdo, sck, wp , reset pin voltage range v hv v ss ? 12.5v v v dd 4.5v the cs pin will be at one of three input levels (v il , v ih or v ihh ). ( note 6 ) v ss ?v dd + 8.0v vv dd < 4.5v v dd start voltage to ensure wiper reset v bor ? ? 1.65 v ram retention voltage (v ram ) < v bor v dd rise rate to ensure power-on reset v ddrr ( note 9 )v/ms delay after device exits the reset state (v dd > v bor ) t bord ?1020s supply current (note 10) i dd ? ? 450 a serial interface active, v dd = 5.5v, cs = v il , sck @ 5 mhz, write all 0 ?s to volatile wiper 0 (address 0h) ? ? 1 ma ee write current, v dd = 5.5v, cs = v il , sck @ 5 mhz, write all 0 ?s to non-volatile wiper 0 (address 2h) ? 2.5 5 a serial interface inactive, cs = v ih , v dd = 5.5v ? 0.55 1 ma serial interface active, v dd = 5.5v, cs = v ihh , sck @ 5 mhz, decrement non-volatile wiper 0 (address 2h) note 1: resistance is defined as the resistance between terminal a to terminal b. 2: inl and dnl are measured at v w with v a = v dd and v b = v ss . 3: mcp43x1 only. 4: mcp43x2 only, includes v wzse and v wfse . 5: resistor terminals a, w and b?s polarity with respect to each other is not restricted. 6: this specification by design. 7: non-linearity is affected by wiper resistance (r w ), which changes signific antly over voltage and temperature. 8: the mcp43x1 is externally connected to ma tch the configurations of the mcp43x2 , and then tested. 9: por/bor is not rate dependent. 10: supply current is independent of cu rrent through the resistor network.
? 2009 microchip technology inc. ds22233a-page 5 mcp434x/436x resistance ( 20%) r ab 4.0 5 6.0 k -502 devices (note 1) 8.0 10 12.0 k -103 devices (note 1) 40.0 50 60.0 k -503 devices (note 1) 80.0 100 120.0 k -104 devices (note 1) resolution n 257 taps 8-bit no missing codes 129 taps 7-bit no missing codes step resistance r s ?r ab / (256) ? 8-bit note 6 ?r ab / (128) ? 7-bit note 6 nominal resistance match (| r abwc - r abmean |) / r abmean ? 0.2 1.50 % mcp43x1 devices only ? 0.2 1.25 % ?0.21.0% ?0.21.0% (| r bwwc - r bwmean |) / r bwmean ? 0.25 1.75 % code = full scale ?0.251.50% ?0.251.25% ?0.251.25% wiper resistance ( note 3, note 4) r w ? 75 160 v dd = 5.5 v, i w = 2.0 ma, code = 00h ? 75 300 v dd = 2.7 v, i w = 2.0 ma, code = 00h nominal resistance te m p c o r ab / t ? 50 ? ppm/c t a = -20c to +70c ? 100 ? ppm/c t a = -40c to +85c ? 150 ? ppm/c t a = -40c to +125c ratiometeric te m p c o v wb / t ? 15 ? ppm/c code = midscale (80h or 40h) ac/dc characteristi cs (continued) dc characteristics standard operating conditions (unless otherwise specified) operating temperature ?40c t a +125c (extended) all parameters apply across the specif ied operating ranges unless noted. v dd = +2.7v to 5.5v, 5 k , 10 k , 50 k , 100 k devices. typical specifications represent values for v dd = 5.5v, t a = +25c. parameters sym min typ max units conditions note 1: resistance is defined as the resistance between terminal a to terminal b. 2: inl and dnl are measured at v w with v a = v dd and v b = v ss . 3: mcp43x1 only. 4: mcp43x2 only, includes v wzse and v wfse . 5: resistor terminals a, w and b?s polarity with respect to each other is not restricted. 6: this specification by design. 7: non-linearity is affected by wiper resistance (r w ), which changes signific antly over voltage and temperature. 8: the mcp43x1 is externally connected to ma tch the configurations of the mcp43x2 , and then tested. 9: por/bor is not rate dependent. 10: supply current is independent of cu rrent through the resistor network.
mcp434x/436x ds22233a-page 6 ? 2009 microchip technology inc. resistor terminal input voltage range (terminals a, b and w) v a, v w, v b vss ? v dd v note 5, note 6 maximum current through a, w or b i w ??2.5ma note 6 , worst case current through wiper when wiper is either full scale or zero scale. leakage current into a, w or b i wl ?100?na mcp43x1 pxa = pxw = pxb = v ss ?100?na mcp43x2 pxb = pxw = v ss ac/dc characteristi cs (continued) dc characteristics standard operating conditions (unless otherwise specified) operating temperature ?40c t a +125c (extended) all parameters apply across the specif ied operating ranges unless noted. v dd = +2.7v to 5.5v, 5 k , 10 k , 50 k , 100 k devices. typical specifications represent values for v dd = 5.5v, t a = +25c. parameters sym min typ max units conditions note 1: resistance is defined as the resistance between terminal a to terminal b. 2: inl and dnl are measured at v w with v a = v dd and v b = v ss . 3: mcp43x1 only. 4: mcp43x2 only, includes v wzse and v wfse . 5: resistor terminals a, w and b?s polarity with respect to each other is not restricted. 6: this specification by design. 7: non-linearity is affected by wiper resistance (r w ), which changes signific antly over voltage and temperature. 8: the mcp43x1 is externally connected to ma tch the configurations of the mcp43x2 , and then tested. 9: por/bor is not rate dependent. 10: supply current is independent of cu rrent through the resistor network.
? 2009 microchip technology inc. ds22233a-page 7 mcp434x/436x full scale error ( mcp43x1 only) (8-bit code = 100h, 7-bit code = 80h) v wfse -6.0 -0.1 ? lsb 5 k 8-bit 3.0v v dd 5.5v -4.0 -0.1 ? lsb 7-bit 3.0v v dd 5.5v -3.5 -0.1 ? lsb 10 k 8-bit 3.0v v dd 5.5v -2.0 -0.1 ? lsb 7-bit 3.0v v dd 5.5v -0.8 -0.1 ? lsb 50 k 8-bit 3.0v v dd 5.5v -0.5 -0.1 ? lsb 7-bit 3.0v v dd 5.5v -0.5 -0.1 ? lsb 100 k 8-bit 3.0v v dd 5.5v -0.5 -0.1 ? lsb 7-bit 3.0v v dd 5.5v zero scale error ( mcp43x1 only) (8-bit code = 00h, 7-bit code = 00h) v wzse ?+0.1+6.0lsb5k 8-bit 3.0v v dd 5.5v ? +0.1 +3.0 lsb 7-bit 3.0v v dd 5.5v ? +0.1 +3.5 lsb 10 k 8-bit 3.0v v dd 5.5v ? +0.1 +2.0 lsb 7-bit 3.0v v dd 5.5v ? +0.1 +0.8 lsb 50 k 8-bit 3.0v v dd 5.5v ? +0.1 +0.5 lsb 7-bit 3.0v v dd 5.5v ? +0.1 +0.5 lsb 100 k 8-bit 3.0v v dd 5.5v ? +0.1 +0.5 lsb 7-bit 3.0v v dd 5.5v potentiometer integral non-linearity inl -1 0.5 +1 lsb 8-bit 3.0v v dd 5.5v mcp43x1 devices only (note 2) -0.5 0.25 +0.5 lsb 7-bit potentiometer differential non-linearity dnl -0.5 0.25 +0.5 lsb 8-bit 3.0v v dd 5.5v mcp43x1 devices only (note 2) -0.25 0.125 +0.25 lsb 7-bit bandwidth -3 db (see figure 2-54 , load = 30 pf) bw ? 2 ? mhz 5 k 8-bit code = 80h ? 2 ? mhz 7-bit code = 40h ?1?mhz10k 8-bit code = 80h ? 1 ? mhz 7-bit code = 40h ?200?khz50k 8-bit code = 80h ? 200 ? khz 7-bit code = 40h ?100?khz100k 8-bit code = 80h ? 100 ? khz 7-bit code = 40h ac/dc characteristi cs (continued) dc characteristics standard operating conditions (unless otherwise specified) operating temperature ?40c t a +125c (extended) all parameters apply across the specif ied operating ranges unless noted. v dd = +2.7v to 5.5v, 5 k , 10 k , 50 k , 100 k devices. typical specifications represent values for v dd = 5.5v, t a = +25c. parameters sym min typ max units conditions note 1: resistance is defined as the resistance between terminal a to terminal b. 2: inl and dnl are measured at v w with v a = v dd and v b = v ss . 3: mcp43x1 only. 4: mcp43x2 only, includes v wzse and v wfse . 5: resistor terminals a, w and b?s polarity with respect to each other is not restricted. 6: this specification by design. 7: non-linearity is affected by wiper resistance (r w ), which changes signific antly over voltage and temperature. 8: the mcp43x1 is externally connected to ma tch the configurations of the mcp43x2 , and then tested. 9: por/bor is not rate dependent. 10: supply current is independent of cu rrent through the resistor network.
mcp434x/436x ds22233a-page 8 ? 2009 microchip technology inc. rheostat integral non-linearity mcp43x1 ( note 4, note 8 ) mcp43x2 devices only (note 4) r-inl -1.5 0.5 +1.5 lsb 5 k 8-bit 5.5v, i w = 900 a -8.25 +4.5 +8.25 lsb 3.0v, i w = 480 a ( note 7 ) -1.125 0.5 +1.125 lsb 7-bit 5.5v, i w = 900 a -6.0 +4.5 +6.0 lsb 3.0v, i w = 480 a ( note 7 ) -1.5 0.5 +1.5 lsb 10 k 8-bit 5.5v, i w = 450 a -5.5 +2.5 +5.5 lsb 3.0v, i w = 240 a ( note 7 ) -1.125 0.5 +1.125 lsb 7-bit 5.5v, i w = 450 a -4.0 +2.5 +4.0 lsb 3.0v, i w = 240 a ( note 7 ) -1.5 0.5 +1.5 lsb 50 k 8-bit 5.5v, i w = 90 a -2.0 +1 +2.0 lsb 3.0v, i w = 48 a ( note 7 ) -1.125 0.5 +1.125 lsb 7-bit 5.5v, i w = 90 a -1.5 +1 +1.5 lsb 3.0v, i w = 48 a ( note 7 ) -1.0 0.5 +1.0 lsb 100 k 8-bit 5.5v, i w = 45 a -1.5 +0.25 +1.5 lsb 3.0v, i w = 24 a ( note 7 ) -0.8 0.5 +0.8 lsb 7-bit 5.5v, i w = 45 a -1.125 +0.25 +1.125 lsb 3.0v, i w = 24 a ( note 7 ) ac/dc characteristi cs (continued) dc characteristics standard operating conditions (unless otherwise specified) operating temperature ?40c t a +125c (extended) all parameters apply across the specif ied operating ranges unless noted. v dd = +2.7v to 5.5v, 5 k , 10 k , 50 k , 100 k devices. typical specifications represent values for v dd = 5.5v, t a = +25c. parameters sym min typ max units conditions note 1: resistance is defined as the resistance between terminal a to terminal b. 2: inl and dnl are measured at v w with v a = v dd and v b = v ss . 3: mcp43x1 only. 4: mcp43x2 only, includes v wzse and v wfse . 5: resistor terminals a, w and b?s polarity with respect to each other is not restricted. 6: this specification by design. 7: non-linearity is affected by wiper resistance (r w ), which changes signific antly over voltage and temperature. 8: the mcp43x1 is externally connected to ma tch the configurations of the mcp43x2 , and then tested. 9: por/bor is not rate dependent. 10: supply current is independent of cu rrent through the resistor network.
? 2009 microchip technology inc. ds22233a-page 9 mcp434x/436x rheostat differential non-linearity mcp43x1 ( note 4, note 8 ) mcp43x2 devices only (note 4) r-dnl -0.5 0.25 +0.5 lsb 5 k 8-bit 5.5v, i w = 900 a -1.0 +0.5 +1.0 lsb 3.0v ( note 7 ) -0.375 0.25 +0.375 lsb 7-bit 5.5v, i w = 900 a -0.75 +0.5 +0.75 lsb 3.0v ( note 7 ) -0.5 0.25 +0.5 lsb 10 k 8-bit 5.5v, i w = 450 a -1.0 +0.25 +1.0 lsb 3.0v ( note 7 ) -0.375 0.25 +0.375 lsb 7-bit 5.5v, i w = 450 a -0.75 +0.5 +0.75 lsb 3.0v ( note 7 ) -0.5 0.25 +0.5 lsb 50 k 8-bit 5.5v, i w = 90 a -0.5 0.25 +0.5 lsb 3.0v ( note 7 ) -0.375 0.25 +0.375 lsb 7-bit 5.5v, i w = 90 a -0.375 0.25 +0.375 lsb 3.0v ( note 7 ) -0.5 0.25 +0.5 lsb 100 k 8-bit 5.5v, i w = 45 a -0.5 0.25 +0.5 lsb 3.0v ( note 7 ) -0.375 0.25 +0.375 lsb 7-bit 5.5v, i w = 45 a -0.375 0.25 +0.375 lsb 3.0v ( note 7 ) capacitance (p a )c aw ? 75 ? pf f =1 mhz, code = full scale capacitance (p w )c w ? 120 ? pf f =1 mhz, code = full scale capacitance (p b )c bw ? 75 ? pf f =1 mhz, code = full scale ac/dc characteristi cs (continued) dc characteristics standard operating conditions (unless otherwise specified) operating temperature ?40c t a +125c (extended) all parameters apply across the specif ied operating ranges unless noted. v dd = +2.7v to 5.5v, 5 k , 10 k , 50 k , 100 k devices. typical specifications represent values for v dd = 5.5v, t a = +25c. parameters sym min typ max units conditions note 1: resistance is defined as the resistance between terminal a to terminal b. 2: inl and dnl are measured at v w with v a = v dd and v b = v ss . 3: mcp43x1 only. 4: mcp43x2 only, includes v wzse and v wfse . 5: resistor terminals a, w and b?s polarity with respect to each other is not restricted. 6: this specification by design. 7: non-linearity is affected by wiper resistance (r w ), which changes signific antly over voltage and temperature. 8: the mcp43x1 is externally connected to ma tch the configurations of the mcp43x2 , and then tested. 9: por/bor is not rate dependent. 10: supply current is independent of cu rrent through the resistor network.
mcp434x/436x ds22233a-page 10 ? 2009 microchip technology inc. digital inputs/outputs (cs , sdi, sdo, sck, wp , reset ) schmitt trigger high input threshold v ih 0.45 v dd ?? v2.7v v dd 5.5v (allows 2.7v digital v dd with 5v analog v dd ) 0.5 v dd ?? v1.8v v dd 2.7v schmitt trigger low input threshold v il ? ? 0.2v dd v hysteresis of schmitt trigger inputs v hys ?0.1v dd ?v high voltage input entry voltage v ihh 8.5 ? 12.5 (6) v threshold for wiperlock? technology high voltage input exit voltage v ihh ??v dd + 0.8v v high voltage limit v max ??12.5 (6) v pin can tolerate v max or less. output low voltage (sdo) v ol v ss ?0.3v dd vi ol = 5 ma, v dd = 5.5v v ss ?0.3v dd vi ol = 1 ma, v dd = 1.8v output high voltage (sdo) v oh 0.7v dd ?v dd vi oh = -2.5 ma, v dd = 5.5v 0.7v dd ?v dd vi ol = -1 ma, v dd = 1.8v ac/dc characteristi cs (continued) dc characteristics standard operating conditions (unless otherwise specified) operating temperature ?40c t a +125c (extended) all parameters apply across the specif ied operating ranges unless noted. v dd = +2.7v to 5.5v, 5 k , 10 k , 50 k , 100 k devices. typical specifications represent values for v dd = 5.5v, t a = +25c. parameters sym min typ max units conditions note 1: resistance is defined as the resistance between terminal a to terminal b. 2: inl and dnl are measured at v w with v a = v dd and v b = v ss . 3: mcp43x1 only. 4: mcp43x2 only, includes v wzse and v wfse . 5: resistor terminals a, w and b?s polarity with respect to each other is not restricted. 6: this specification by design. 7: non-linearity is affected by wiper resistance (r w ), which changes signific antly over voltage and temperature. 8: the mcp43x1 is externally connected to ma tch the configurations of the mcp43x2 , and then tested. 9: por/bor is not rate dependent. 10: supply current is independent of cu rrent through the resistor network.
? 2009 microchip technology inc. ds22233a-page 11 mcp434x/436x weak pull-up current i pu ? ? 1.75 ma internal v dd pull-up, v ihh pull-down, v dd = 5.5v, v cs = 12.5v ?170?acs pin, v dd = 5.5v, v cs = 3v cs pull-up / pull-down resistance r cs ?16?k v dd = 5.5v, v cs = 3v reset pull-up resistance r reset ?16?k v dd = 5.5v, v reset = 0v input leakage current i il -1 ? 1 a v in = v dd (all pins) and v in = v ss (all pins except reset ) pin capacitance c in , c out ?10?pff c = 20 mhz ram (wiper, tcon) value value range n 0h ? 1ffh hex 8-bit device 0h ? 1ffh hex 7-bit device tcon por/bor setting 1ff hex all terminals connected eeprom endurance e ndurance ? 1m ? cycles eeprom range n 0h ? 1ffh hex initial nv wiper por/bor setting n 080h hex 8-bit wiperlock technology = off 040h hex 7-bit wiperlock technology = off initial eeprom por/bor setting n 000h hex eeprom programming write cycle time t wc ?310ms power requirements power supply sensitivity ( mcp43x1 ) pss ? 0.0015 0.0035 %/% 8-bit v dd = 2.7v to 5.5v, v a = 2.7v, code = 80h ? 0.0015 0.0035 %/% 7-bit v dd = 2.7v to 5.5v, v a = 2.7v, code = 40h ac/dc characteristi cs (continued) dc characteristics standard operating conditions (unless otherwise specified) operating temperature ?40c t a +125c (extended) all parameters apply across the specif ied operating ranges unless noted. v dd = +2.7v to 5.5v, 5 k , 10 k , 50 k , 100 k devices. typical specifications represent values for v dd = 5.5v, t a = +25c. parameters sym min typ max units conditions note 1: resistance is defined as the resistance between terminal a to terminal b. 2: inl and dnl are measured at v w with v a = v dd and v b = v ss . 3: mcp43x1 only. 4: mcp43x2 only, includes v wzse and v wfse . 5: resistor terminals a, w and b?s polarity with respect to each other is not restricted. 6: this specification by design. 7: non-linearity is affected by wiper resistance (r w ), which changes signific antly over voltage and temperature. 8: the mcp43x1 is externally connected to ma tch the configurations of the mcp43x2 , and then tested. 9: por/bor is not rate dependent. 10: supply current is independent of cu rrent through the resistor network.
mcp434x/436x ds22233a-page 12 ? 2009 microchip technology inc. 1.1 spi mode timing waveforms and requirements figure 1-1: reset waveforms. table 1-1: reset timing timing characteristics standard operating conditions (unless otherwise specified) operating temperature ?40c t a +125c (extended) all parameters apply across the specif ied operating ranges unless noted. v dd = +2.7v to 5.5v, 5 k , 10 k , 50 k , 100 k devices. typical specifications represent values for v dd = 5.5v, t a = +25c. parameters sym min typ max units conditions reset pulse width t rst 50 ? ? ns reset rising edge normal mode (wiper driving and spi interface operational) t rstd ??20ns reset sck t rst t rstd wx
? 2009 microchip technology inc. ds22233a-page 13 mcp434x/436x figure 1-2: spi timing waveform (mode = 11). table 1-2: spi requirements (mode = 11 ) # characteristic symbol min max units conditions sck input frequency f sck ?10mhzv dd = 2.7v to 5.5v ?1mhzv dd = 1.8v to 2.7v 70 cs active (v il or v ihh ) to sck input tcsa2sch 60 ? ns 71 sck input high time tsch 45 ? ns v dd = 2.7v to 5.5v 500 ? ns v dd = 1.8v to 2.7v 72 sck input low time tscl 45 ? ns v dd = 2.7v to 5.5v 500 ? ns v dd = 1.8v to 2.7v 73 setup time of sdi input to sck edge t di v2sch 10 ? ns v dd = 2.7v to 5.5v 20 ? ns v dd = 1.8v to 2.7v 74 hold time of sdi input from sck edge tsch2 di l20 ?ns 77 cs inactive (v ih ) to sdo output hi-impedance tcsh2 do z ? 50 ns note 1 80 sdo data output valid after sck edge tscl2 do v ? 70 ns v dd = 2.7v to 5.5v 170 ns v dd = 1.8v to 2.7v 83 cs inactive (v ih ) after sck edge tsch2csi 100 ? ns v dd = 2.7v to 5.5v 1msv dd = 1.8v to 2.7v 84 hold time of cs inactive (v ih ) to cs active (v il or v ihh ) tcsa2csi 50 ? ns note 1: this specification by design. cs sck sdo sdi 70 71 72 73 74 75, 76 77 78 79 80 sdi msb lsb bit6 - - - - - -1 msb in bit6 - - - -1 lsb in 83 84 v ih v il v ihh v ih
mcp434x/436x ds22233a-page 14 ? 2009 microchip technology inc. figure 1-3: spi timing waveform (mode = 00 ). table 1-3: spi requirements (mode = 00 ) # characteristic symbol min max units conditions sck input frequency f sck ?10mhzv dd = 2.7v to 5.5v ?1mhzv dd = 1.8v to 2.7v 70 cs active (v il or v ihh ) to sck input tcsa2sch 60 ? ns 71 sck input high time tsch 45 ? ns v dd = 2.7v to 5.5v 500 ? ns v dd = 1.8v to 2.7v 72 sck input low time tscl 45 ? ns v dd = 2.7v to 5.5v 500 ? ns v dd = 1.8v to 2.7v 73 setup time of sdi input to sck edge t di v2sch 10 ? ns 74 hold time of sdi input from sck edge tsch2 di l20 ?ns 77 cs inactive (v ih ) to sdo output hi-impedance tcsh2 do z? 50ns note 1 80 sdo data output valid after sck edge tscl2 do v? 70nsv dd = 2.7v to 5.5v 170 ns v dd = 1.8v to 2.7v 82 sdo data output valid after cs active (v il or v ihh ) tssl2dov ? 85 ns 83 cs inactive (v ih ) after sck edge tsch2csi 100 ? ns v dd = 2.7v to 5.5v 1msv dd = 1.8v to 2.7v 84 hold time of cs inactive (v ih ) to cs active (v il or v ihh ) tcsa2csi 50 ? ns note 1: this specification by design. cs sck sdo sdi 70 71 72 82 sdi 74 75, 76 msb bit6 - - - - - -1 lsb 77 msb in bit6 - - - -1 lsb in 80 83 84 73 v ih v il v ihh v ih
? 2009 microchip technology inc. ds22233a-page 15 mcp434x/436x temperature characteristics electrical specifications: unless otherwise indicated, v dd = +2.7v to +5.5v, v ss =gnd. parameters sym min typ max units conditions temperature ranges specified temperature range t a -40 ? +125 c operating temperature range t a -40 ? +125 c storage temperature range t a -65 ? +150 c thermal package resistances thermal resistance, 14l-tssop ja ?100?c/w thermal resistance, 20l-qfn ja ?43?c/w thermal resistance, 20l-tssop ja ?90?c/w
mcp434x/436x ds22233a-page 16 ? 2009 microchip technology inc. notes:
? 2009 microchip technology inc. ds22233a-page 17 mcp434x/436x 2.0 typical performance curves note: unless otherwise indicated, t a = +25c, v dd = 5v, v ss = 0v. figure 2-1: device current (i dd ) vs. spi frequency (f sck ) and ambient temperature (v dd = 2.7v and 5.5v). figure 2-2: device current (i shdn ) and v dd . (cs = v dd ) vs. ambient temperature. figure 2-3: write current (i write ) vs. ambient temperature and v dd . figure 2-4: cs pull-up/pull-down resistance (r cs ) and current (i cs ) vs. cs input voltage (v cs ) (v dd = 5.5v). figure 2-5: cs high input entry/exit threshold vs. ambient temperature and v dd . note: the graphs and tables provided following this note are a statistical summary based on a limited number of samples and are provided for informational purpose s only. the performance characteristics listed herein are not tested or guaranteed. in so me graphs or tables, the data presented may be outside the specified operating range (e.g., outside specified power suppl y range) and therefore outs ide the warranted range. 0 50 100 150 200 250 300 350 400 450 500 550 600 650 700 0.00 2.00 4.00 6.00 8.00 10.00 12.00 f sck (mhz) operating current (i dd ) (a) 2.7v -40c 2.7v 25c 2.7v 85c 2.7v 125c 5.5v -40c 5.5v 25c 5.5v 85c 5.5v 125c 0.0 0.5 1.0 1.5 2.0 2.5 3.0 -40 25 85 125 ambient temperature (c) standby current (istby) (a) 5.5v 2.7v 100.0 200.0 300.0 400.0 500.0 600.0 700.0 -40 25 85 125 ambient temperature (c) ee write current (iwrite) (a) 5.5v 2.7v 0 50 100 150 200 250 2345678910 v cs (v) r cs (kohms) -1000 -800 -600 -400 -200 0 200 400 600 800 1000 i cs (a) i cs r cs 0 2 4 6 8 10 12 -40-20 0 20406080100120 ambient temperature (c) cs v pp threshold (v) 2.7v exit 5.5v exit 2 .7v entry 5.5v entry
mcp434x/436x ds22233a-page 18 ? 2009 microchip technology inc. note: unless otherwise indicated, t a = +25c, v dd = 5v, v ss = 0v. figure 2-6: 5k pot mode ? r w ( ), inl (lsb), dnl (lsb) vs. wiper setting and ambient temperature (v dd = 5.5v). figure 2-7: 5k pot mode ? r w ( ), inl (lsb), dnl (lsb) vs. wiper setting and ambient temperature (v dd = 3.0v). figure 2-8: 5k ? nominal resistance ( ) vs. ambient temperature and v dd . figure 2-9: 5k rheo mode ? r w ( ), inl (lsb), dnl (lsb) vs. wiper setting and ambient temperature (v dd = 5.5v). figure 2-10: 5k rheo mode ? r w ( ), inl (lsb), dnl (lsb) vs. wiper setting and ambient temperature (v dd = 3.0v). figure 2-11: 5k ? r wb ( ) vs. wiper setting and ambient temperature. 20 40 60 80 100 120 0 32 64 96 128 160 192 224 256 wiper setting (decimal) wiper resistance (r w ) (ohms) -0.3 -0.2 -0.1 0 0.1 0.2 0.3 error (lsb) -40c rw 25c rw 85c rw 125c rw -40c inl 25c inl 85c inl 125c inl -40c dnl 25c dnl 85c dnl 125c dnl inl dnl r w -40c 25c 85c 125c 20 60 100 140 180 220 260 300 0 32 64 96 128 160 192 224 256 wiper setting (decimal) wiper resistance (r w ) (ohms) -0.3 -0.2 -0.1 0 0.1 0.2 0.3 error (lsb) -40c rw 25c rw 85c rw 125c rw -40c inl 25c inl 85c inl 125c inl -40c dnl 25c dnl 85c dnl 125c dnl inl dnl -40c 25c 85c r w 125c 5050 5100 5150 5200 5250 5300 -40 0 40 80 120 ambient temperature (c) nominal resistance (r ab ) (ohms) 2.7v 5.5v 20 40 60 80 100 120 0 32 64 96 128 160 192 224 256 wiper setting (decimal) wiper resistance (r w ) (ohms) -1.25 -0.75 -0.25 0.25 0.75 1.25 error (lsb) -40c rw 25c rw 85c rw 125c rw -40c inl 25c inl 85c inl 125c inl -40c dnl 25c dnl 85c dnl 125c dnl inl dnl r w -40c 25c 85c 125c 20 60 100 140 180 220 260 300 0 32 64 96 128 160 192 224 256 wiper setting (decimal) wiper resistance (r w ) (ohms) -2 0 2 4 6 error (lsb) -40c rw 25c rw 85c rw 125c rw -40c inl 25c inl 85c inl 125c inl -40c dnl 25c dnl 85c dnl 125c dnl inl dnl r w -40c 25c 85c 125c 0 1000 2000 3000 4000 5000 6000 0 32 64 96 128 160 192 224 256 wiper setting (decimal) r wb (ohms) -40c 25c 85c 125c
? 2009 microchip technology inc. ds22233a-page 19 mcp434x/436x note: unless otherwise indicated, t a = +25c, v dd = 5v, v ss = 0v. figure 2-12: 5k ? low-voltage decrement wiper settling time (v dd = 2.7v) (1 s/div). figure 2-13: 5k ? low-voltage decrement wiper settling time (v dd = 5.5v) (1 s/div). figure 2-14: 5k ? power-up wiper response time (20 ms/div). figure 2-15: 5k ? low-voltage increment wiper settling time (v dd = 2.7v) (1 s/div). figure 2-16: 5k ? low-voltage increment wiper settling time (v dd = 5.5v) (1 s/div).
mcp434x/436x ds22233a-page 20 ? 2009 microchip technology inc. note: unless otherwise indicated, t a = +25c, v dd = 5v, v ss = 0v. figure 2-17: 10 k pot mode ? r w ( ), inl (lsb), dnl (lsb) vs. wiper setting and ambient temperature (v dd = 5.5v). figure 2-18: 10 k pot mode ? r w ( ), inl (lsb), dnl (lsb) vs. wiper setting and ambient temperature (v dd = 3.0v). figure 2-19: 10 k ? nominal resistance ( ) vs. ambient temperature and v dd . figure 2-20: 10 k rheo mode ? r w ( ), inl (lsb), dnl (lsb) vs. wiper setting and ambient temperature (v dd = 5.5v). figure 2-21: 10 k rheo mode ? r w ( ), inl (lsb), dnl (lsb) vs. wiper setting and ambient temperature (v dd = 3.0v). figure 2-22: 10 k ? r wb ( ) vs. wiper setting and ambient temperature. 20 40 60 80 100 120 0 25 50 75 100 125 150 175 200 225 250 wiper setting (decimal) wiper resistance (r w ) (ohms) -0.3 -0.2 -0.1 0 0.1 0.2 0.3 error (lsb) -40c rw 25c rw 85c rw 125c rw -40c inl 25c inl 85c inl 125c inl -40c dnl 25c dnl 85c dnl 125c dnl inl dnl r w -40c 25c 85c 125c 20 60 100 140 180 220 260 300 0 32 64 96 128 160 192 224 256 wiper setting (decimal) wiper resistance (r w ) (ohms) -0.3 -0.2 -0.1 0 0.1 0.2 0.3 error (lsb) -40c rw 25c rw 85c rw 125c rw -40c inl 25c inl 85c inl 125c inl -40c dnl 25c dnl 85c dnl 125c dnl inl dnl r w -40c 25c 85c 125c 10000 10050 10100 10150 10200 10250 -40 0 40 80 120 ambient temperature (c) nominal resistance (r ab ) (ohms) 5.5v 2.7v 20 40 60 80 100 120 0 32 64 96 128 160 192 224 256 wiper setting (decimal) wiper resistance (r w ) (ohms) -1 -0.5 0 0.5 1 error (lsb) -40c rw 25c rw 85c rw 125c rw -40c inl 25c inl 85c inl 125c inl -40c dnl 25c dnl 85c dnl 125c dnl inl dnl r w -40c 25c 85c 125c 20 60 100 140 180 220 260 300 0 25 50 75 100 125 150 175 200 225 250 wiper setting (decimal) wiper resistance (r w ) (ohms) -2 -1 0 1 2 3 4 error (lsb) -40c rw 25c rw 85c rw 125c rw -40c inl 25c inl 85c inl 125c inl -40c dnl 25c dnl 85c dnl 125c dnl inl dnl r w -40c 25c 85c 125c 0 2000 4000 6000 8000 10000 12000 0 32 64 96 128 160 192 224 256 wiper setting (decimal) r wb (ohms) -40c 25c 85c 125c
? 2009 microchip technology inc. ds22233a-page 21 mcp434x/436x note: unless otherwise indicated, t a = +25c, v dd = 5v, v ss = 0v. figure 2-23: 10 k ? low-voltage decrement wiper settling time (v dd = 2.7v) (1 s/div). figure 2-24: 10 k ? low-voltage decrement wiper settling time (v dd = 5.5v) (1 s/div). figure 2-25: 10 k ? low-voltage increment wiper settling time (v dd = 2.7v) (1 s/div). figure 2-26: 10 k ? low-voltage increment wiper settling time (v dd = 5.5v) (1 s/div).
mcp434x/436x ds22233a-page 22 ? 2009 microchip technology inc. note: unless otherwise indicated, t a = +25c, v dd = 5v, v ss = 0v. figure 2-27: 50 k pot mode ? r w ( ), inl (lsb), dnl (lsb) vs. wiper setting and ambient temperature (v dd = 5.5v). figure 2-28: 50 k pot mode ? r w ( ), inl (lsb), dnl (lsb) vs. wiper setting and ambient temperature (v dd = 3.0v). figure 2-29: 50 k ? nominal resistance ( ) vs. ambient temperature and v dd . figure 2-30: 50 k rheo mode ? r w ( ), inl (lsb), dnl (lsb) vs. wiper setting and ambient temperature (v dd = 5.5v). figure 2-31: 50 k rheo mode ? r w ( ), inl (lsb), dnl (lsb) vs. wiper setting and ambient temperature (v dd = 3.0v). figure 2-32: 50 k ? r wb ( ) vs. wiper setting and ambient temperature. 20 40 60 80 100 120 0 32 64 96 128 160 192 224 256 wiper setting (decimal) wiper resistance (r w ) (ohms) -0.3 -0.2 -0.1 0 0.1 0.2 0.3 error (lsb) -40c rw 25c rw 85c rw 125c rw -40c inl 25c inl 85c inl 125c inl -40c dnl 25c dnl 85c dnl 125c dnl inl dnl r w -40c 25c 85c 125c 20 60 100 140 180 220 260 300 0 32 64 96 128 160 192 224 256 wiper setting (decimal) wiper resistance (r w ) (ohms) -0.3 -0.2 -0.1 0 0.1 0.2 0.3 error (lsb) -40c rw 25c rw 85c rw 125c rw -40c inl 25c inl 85c inl 125c inl -40c dnl 25c dnl 85c dnl 125c dnl inl dnl r w -40c 25c 85c 125c 49400 49600 49800 50000 50200 50400 50600 50800 -40 0 40 80 120 ambient temperature (c) nominal resistance (r ab ) (ohms) 2.7v 5.5v 20 40 60 80 100 120 0 32 64 96 128 160 192 224 256 wiper setting (decimal) wiper resistance (r w ) (ohms) -0.3 -0.2 -0.1 0 0.1 0.2 0.3 error (lsb) -40c rw 25c rw 85c rw 125c rw -40c inl 25c inl 85c inl 125c inl -40c dnl 25c dnl 85c dnl 125c dnl inl dnl r w -40c 25c 85c 125c 20 60 100 140 180 220 260 300 0 32 64 96 128 160 192 224 256 wiper setting (decimal) wiper resistance (r w ) (ohms) -1 -0.75 -0.5 -0.25 0 0.25 0.5 0.75 1 error (lsb) -40c rw 25c rw 85c rw 125c rw -40c inl 25c inl 85c inl 125c inl -40c dnl 25c dnl 85c dnl 125c dnl inl dnl r w -40c 25c 85c 125c 0 10000 20000 30000 40000 50000 60000 0 32 64 96 128 160 192 224 256 wiper setting (decimal) r wb (ohms) -40c 25c 85c 125c
? 2009 microchip technology inc. ds22233a-page 23 mcp434x/436x note: unless otherwise indicated, t a = +25c, v dd = 5v, v ss = 0v. figure 2-33: 50 k ? low-voltage decrement wiper settling time (v dd = 2.7v) (1 s/div). figure 2-34: 50 k ? low-voltage decrement wiper settling time (v dd = 5.5v) (1 s/div). figure 2-35: 50 k ? low-voltage increment wiper settling time (v dd = 2.7v) (1 s/div). figure 2-36: 50 k ? low-voltage increment wiper settling time (v dd = 5.5v) (1 s/div).
mcp434x/436x ds22233a-page 24 ? 2009 microchip technology inc. note: unless otherwise indicated, t a = +25c, v dd = 5v, v ss = 0v. figure 2-37: 100 k pot mode ? r w ( ), inl (lsb), dnl (lsb) vs. wiper setting and ambient temperature (v dd = 5.5v). figure 2-38: 100 k pot mode ? r w ( ), inl (lsb), dnl (lsb) vs. wiper setting and ambient temperature (v dd = 3.0v). figure 2-39: 100 k ? nominal resistance ( ) vs. ambient temperature and v dd . figure 2-40: 100 k rheo mode ? r w ( ), inl (lsb), dnl (lsb) vs. wiper setting and ambient temperature (v dd = 5.5v). figure 2-41: 100 k rheo mode ? r w ( ), inl (lsb), dnl (lsb) vs. wiper setting and ambient temperature (v dd = 3.0v). figure 2-42: 100 k ? r wb ( ) vs. wiper setting and ambient temperature. 20 40 60 80 100 120 0 32 64 96 128 160 192 224 256 wiper setting (decimal) wiper resistance (r w ) (ohms) -0.2 -0.1 0 0.1 0.2 error (lsb) -40c rw 25c rw 85c rw 125c rw -40c inl 25c inl 85c inl 125c inl -40c dnl 25c dnl 85c dnl 125c dnl inl dnl r w -40c 25c 85c 125c 20 60 100 140 180 220 260 300 0 32 64 96 128 160 192 224 256 wiper setting (decimal) wiper resistance (r w ) (ohms) -0.2 -0.15 -0.1 -0.05 0 0.05 0.1 0.15 0.2 error (lsb) -40c rw 25c rw 85c rw 125c rw -40c inl 25c inl 85c inl 125c inl -40c dnl 25c dnl 85c dnl 125c dnl inl dnl r w -40c 25c 85c 125c 99000 99500 100000 100500 101000 101500 -40 0 40 80 120 ambient temperature (c) nominal resistance (r ab ) (ohms) 5.5v 2.7v 20 40 60 80 100 120 0 32 64 96 128 160 192 224 256 wiper setting (decimal) wiper resistance (r w ) (ohms) -0.3 -0.2 -0.1 0 0.1 0.2 0.3 error (lsb) -40c rw 25c rw 85c rw 125c rw -40c inl 25c inl 85c inl 125c inl -40c dnl 25c dnl 85c dnl 125c dnl inl dnl r w -40c 25c 85c 125c 20 60 100 140 180 220 260 300 0 32 64 96 128 160 192 224 256 wiper setting (decimal) wiper resistance (rw) (ohms) -0.6 -0.4 -0.2 0 0.2 0.4 0.6 error (lsb) -40c rw 25c rw 85c rw 125c rw -40c inl 25c inl 85c inl 125c inl -40c dnl 25c dnl 85c dnl 125c dnl inl dnl r w -40c 25c 85c 125c 0 20000 40000 60000 80000 100000 120000 0 32 64 96 128 160 192 224 256 wiper setting (decimal) rwb (ohms) -40c 25c 85c 125c
? 2009 microchip technology inc. ds22233a-page 25 mcp434x/436x note: unless otherwise indicated, t a = +25c, v dd = 5v, v ss = 0v. figure 2-43: 100 k ? low-voltage decrement wiper settling time (v dd = 2.7v) (1 s/div). figure 2-44: 100 k ? low-voltage decrement wiper settling time (v dd = 5.5v) (1 s/div). figure 2-45: 100 k ? low-voltage increment wiper settling time (v dd = 2.7v) (1 s/div). figure 2-46: 100 k ? low-voltage increment wiper settling time (v dd = 5.5v) (1 s/div).
mcp434x/436x ds22233a-page 26 ? 2009 microchip technology inc. note: unless otherwise indicated, t a = +25c, v dd = 5v, v ss = 0v. figure 2-47: v ih (sdi, sck, cs , and reset ) vs. v dd and temperature. figure 2-48: v il (sdi, sck, cs , and reset ) vs. v dd and temperature. figure 2-49: i oh (sdo) vs. v dd and temperature. figure 2-50: i ol (sdo) vs. v dd and temperature. 1 1.2 1.4 1.6 1.8 2 2.2 2.4 -40 0 40 80 120 temperature (c) v ih (v) 5.5v 2.7v 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 -40 0 40 80 120 temperature (c) v il (v) 5.5v 2.7v -45 -40 -35 -30 -25 -20 -15 -10 -5 0 -40 0 40 80 120 temperature (c) i oh (ma) 5.5v 2.7v 0 5 10 15 20 25 30 35 40 45 50 -40 0 40 80 120 temperature (c) i ol (ma) 5.5v 2.7v
? 2009 microchip technology inc. ds22233a-page 27 mcp434x/436x note: unless otherwise indicated, t a = +25c, v dd =5v, v ss = 0v. figure 2-51: nominal eeprom write cycle time vs. v dd and temperature. figure 2-52: por/bor trip point vs. v dd and temperature. figure 2-53: sck input frequency vs. voltage and temperature. 2.1 test circuits figure 2-54: -3 db gain vs. frequency test. 1.0 1.5 2.0 2.5 3.0 3.5 4.0 -40 0 40 80 120 temperature (c) t wc (ms) 5.5v 2.7v 0 0.4 0.8 1.2 1.6 2 -40 0 40 80 120 temperature (c) v dd (v) 13.4 13.5 13.6 13.7 13.8 13.9 14.0 14.1 14.2 -40 0 40 80 120 temperature (c) fsck (mhz) 2.7v 5.5v + - v out 2.5v dc +5v a b w offset gnd v in
mcp434x/436x ds22233a-page 28 ? 2009 microchip technology inc. notes:
? 2009 microchip technology inc. ds22233a-page 29 mcp434x/436x 3.0 pin descriptions the descriptions of the pins are listed in ta b l e 3 - 1 . additional descriptions of the device pins follows. table 3-1: pinout descript ion for the mcp434x/436x pin weak pull-up/ down (note 1) standard function tssop qfn symbol i/o buffer type 14l 20l 20l ?119 p3a a analog no potentiometer 3 terminal a 1220 p3w a analog no potentiometer 3 wiper terminal 231 p3b a analog no potentiometer 3 terminal b 342 cs i hv w/st ?smart? spi chip select input 453 sck i hv w/st ?smart? spi clock input 564 sdi i hv w/st ?smart? spi serial data input 675 v ss ?p ? ground 786 p1b a analog no potentiometer 1 terminal b 897 p1w a analog no potentiometer 1 wiper terminal ?10 8 p1a a analog no potentiometer 1 terminal a ?11 9 p0a a analog no potentiometer 0 terminal a 91210 p0w a analog no potentiometer 0 wiper terminal 10 13 11 p0b a analog no potentiometer 0 terminal b ?1412 wp i i ?smart? hardware eeprom write protect ?1513 reset i hv w/st yes hardware reset pin 11 16 14 sdo o o no spi serial data output 12 17 15 v dd ?p ? positive powe r supply input 13 18 16 p2b a analog no potentiometer 2 terminal b 14 19 17 p2w a analog no potentiometer 2 wiper terminal ?2018 p2a a analog no potentiometer 2 terminal a ??21 ep ? ? ? exposed pad. (note 2) legend: hv w/st = high voltage tolerant input (with schmidtt trigger input) a = analog pins (potentiometer terminals) i = digital input (high z) o = digital output i/o = input / output p = power note 1: the pin?s ?smart? pull-up shuts off while the pin is forced low. this is done to reduce the standby and shut-down current. 2: the qfn package has a contact on the bottom of the pa ckage. this contact is conductively connected to the die substrate, and theref ore should be unconnected or connected to the same ground as the device?s v ss pin.
mcp434x/436x ds22233a-page 30 ? 2009 microchip technology inc. 3.1 chip select (cs ) the cs pin is the serial interface?s chip select input. forcing the cs pin to v il enables the serial commands. forcing the cs pin to v ihh enables the high-voltage serial commands. 3.2 serial data in (sdi) the sdi pin is the serial interfaces serial data in pin. this pin is connected to the host controllers sdo pin. 3.3 ground (v ss ) the v ss pin is the device ground reference. 3.4 potentiometer terminal b the terminal b pin is connected to the internal potentiometer?s terminal b. the potentiometer?s terminal b is the fixed connection to the zero scale wiper value of the digital potentiometer. this corresponds to a wiper value of 0x00 for both 7-bit and 8-bit devices. the terminal b pin does not have a polarity relative to the terminal w or a pins. the terminal b pin can support both positive and negative current. the voltage on terminal b must be between v ss and v dd . mcp43xx devices have four terminal b pins, one for each resistor network. 3.5 potentiometer wiper (w) terminal the terminal w pin is connected to the internal potentiometer?s terminal w (the wiper). the wiper terminal is the adjustable terminal of the digital potentiometer. the terminal w pin does not have a polarity relative to terminals a or b pins. the terminal w pin can support both positive and negative current. the voltage on terminal w must be between v ss and v dd . mcp43xx devices have four terminal w pins, one for each resistor network. 3.6 potentiometer terminal a the terminal a pin is available on the mcp43x1 devices, and is connected to the internal potentiometer? s terminal a. the potentiometer?s terminal a is the fixed connection to the full scale wiper value of the digital potentiometer. this corresponds to a wiper value of 0x100 for 8-bit devices or 0x80 for 7-bit devices. the terminal a pin does not have a polarity relative to the terminal w or b pins. the terminal a pin can support both positive and negative current. the voltage on terminal a must be between v ss and v dd . the terminal a pin is not available on the mcp43x2 devices, and the internally terminal a signal is floating. mcp43x1 devices have four terminal a pins, one for each resistor network. 3.7 write protect (wp ) the wp pin is used to force the non-volatile memory to be write protected. 3.8 reset (reset ) the reset pin is used to force the device into the por/bor state. 3.9 serial data out (sdo) the sdo pin is the serial interfaces serial data out pin. this pin is connected to t he host controllers sdi pin. this pin allows the host controller to read the digital potentiometers registers, or monitor the state of the command error bit. 3.10 positive power supply input (v dd ) the v dd pin is the device?s positive power supply input. the input power supply is relative to v ss . while the device v dd < v min (2.7v), the electrical performance of the device may not meet the data sheet specifications. 3.11 exposed pad (ep) this pad is conductively connected to the device's substrate. this pad should be tied to the same potential as the v ss pin (or left unconnected). this pad could be used to assist as a heat sink for the device when connected to a pcb heat sink.
? 2009 microchip technology inc. ds22233a-page 31 mcp434x/436x 4.0 functional overview this data sheet covers a family of four non-volatile digital potentiometer and r heostat devices that will be referred to as mcp43xx. the mcp43x1 devices are the potentiometer configuration, while the mcp43x2 devices are the rheostat configuration. as the device block diagram shows, there are four main functional blocks. these are: ? por/bor and reset operation ? memory map ? resistor network ? serial interface (spi) the por/bor operation an d the memory map are discussed in this section and the resistor network and spi operation are described in their own sections. the device commands commands are discussed in section 7.0 . 4.1 por/bor and reset operation the power-on reset is the case where the device is having power applied to it from v ss . the brown-out reset occurs when a device had power applied to it, and that power (voltage) drops below the specified range. the devices ram retention voltage (v ram ) is lower than the por/bor voltage trip point (v por /v bor ). the maximum v por /v bor voltage is less then 1.8v. when v por /v bor < v dd < 2.7v, the electrical performance may not meet the data sheet specifications. in this region, the device is capable of reading and writing to its eeprom and incrementing, decrementing, reading and writing to its volatile memory if the proper serial command is executed. when v dd < v por /v bor or the reset pin is low, the pin weak pull-ups are enabled. 4.1.1 power-on reset when the device powers up, the device v dd will cross the v por /v bor voltage. once the v dd voltage crosses the v por /v bor voltage, the following happens: ? volatile wiper register is loaded with value in the corresponding non-volatile wiper register ? the tcon registers are loaded their default value ? the device is capable of digital operation 4.1.2 brown-out reset when the device powers down, the device v dd will cross the v por /v bor voltage. once the v dd voltage decreases below the v por /v bor voltage the following happens: ? serial interface is disabled ? eeprom writes are disabled if the v dd voltage decreases below the v ram voltage, the following happens: ? volatile wiper registers may become corrupted ? tcon registers may become corrupted as the voltage recovers above the v por /v bor voltage see section 4.1.1 ?power-on reset? . serial commands not completed due to a brown-out condition may cause the memory location (volatile and non-volatile) to become corrupted. 4.1.3 reset pin the reset pin can be used to force the device into the por/bor state of the device. when the reset pin is forced low, the device is forced into the reset state. this means that the tcon and status registers are forced to their default values and the volatile wiper registers are loaded with the value in the corresponding non-volatile wiper register. also the spi interface is disabled. any non-volatile write cycle is not interrupted, and allowed to complete. this feature allows a hardwa re method for all registers to be updated at the same time. 4.1.4 interaction of reset pin and bor/ por circuitry figure 4-1 shows how the reset pin signal and the por/bor signal interact to control the hardware reset state of the device. figure 4-1: por/bor signal and reset pin interaction. reset (from pin) por/bor signal device reset
mcp434x/436x ds22233a-page 32 ? 2009 microchip technology inc. 4.2 memory map the device memory is 16 locations that are 9-bits wide (16x9 bits). this memory space contains both volatile and non-volatile locations (see ta b l e 4 - 1 ). table 4-1: memory map and the supported commands address function memory type allowed commands disallowed commands (2) factory initialization 00h volatile wiper 0 ram read, write, increment, decrement ? ? 01h volatile wiper 1 ram read, write, increment, decrement ? ? 02h non-volatile wiper 0 eeprom read, write (1) increment, decrement 8-bit 80h 7-bit 40h 03h non-volatile wiper 1 eeprom read, write (1) increment, decrement 8-bit 80h 7-bit 40h 04h volatile tcon0 register ram read, write increment, decrement ? 05h status register ram read write, increment, decrement ? 06h volatile wiper 2 ram read, write, increment, decrement ? ? 07h volatile wiper 3 ram read, write, increment, decrement ? ? 08h non-volatile wiper 2 eeprom read, write (1) increment, decrement 8-bit 80h 7-bit 40h 09h non-volatile wiper 3 eeprom read, write (1) increment, decrement 8-bit 80h 7-bit 40h 0ah volatile tcon1 register ram read, write increment, decrement ? 0bh data eeprom eeprom read, write (1) increment, decrement 000h 0ch data eeprom eeprom read, write (1) increment, decrement 000h 0dh data eeprom eeprom read, write (1) increment, decrement 000h 0eh data eeprom eeprom read, write (1) increment, decrement 000h 0fh data eeprom eeprom read, write (1) increment, decrement 000h note 1: when an eeprom write is active, these are invalid co mmands and will generate an error condition. the user should use a read of t he status register to determine when t he write cycle has completed. to exit the error condition, the user must take the cs pin to the v ih level and then back to the active state (v il or v ihh ). 2: this command on this address will generate an error condi tion. to exit the error condition, the user must take the cs pin to the v ih level and then back to the active state (v il or v ihh ).
? 2009 microchip technology inc. ds22233a-page 33 mcp434x/436x 4.2.1 non-volatile memory (eeprom) this memory can be grouped into two uses of non-volatile memory. these are: ? general purpose registers ? non-volatile wiper registers the non-volatile wipers starts functioning below the devices v por /v bor trip point. 4.2.1.1 general purpose registers these locations allow the user to store up to 5 (9-bit) locations worth of information. 4.2.1.2 non-volatile wiper registers these locations contain the wiper values that are loaded into the corresponding volatile wiper register whenever the device has a por/bor event. there are four registers, one for each resistor network. the non-volatile wiper register enables stand-alone operation of the device (wit hout microcontroller control) after being programmed to the desired value. 4.2.1.3 factory initializ ation of non-volatile memory (eeprom) the non-volatile wiper values will be initialized to mid-scale value. this is shown in table 4-2 . the general purpose eeprom memory will be programmed to a default value of 0x000. it is good practice in the manufacturing flow to configure the device to your desired settings. table 4-2: default factory settings selection 4.2.1.4 special features there are 5 non-volatile bits that are not directly mapped into the address space. these bits control the following functions: ? eeprom write protect ? wiperlock technology for non-volatile wiper 0 ? wiperlock technology for non-volatile wiper 1 ? wiperlock technology for non-volatile wiper 2 ? wiperlock technology for non-volatile wiper 3 the operation of wiperlock technology is discussed in section 5.3 . the state of the wl0, wl1, wl2, wl3, and wp bits is reflected in the status register (see register 4-1 ). eeprom write protect all internal eeprom memory can be write protected. when eeprom memory is write protected, write commands to the internal eeprom are prevented. write protect (wp ) can be enabled/disabled by two methods. these are: ? external wp hardware pin (mcp43x1 devices only) ? non-volatile configuration bit (wp) high voltage commands are required to enable and disable the non-volatile wp bit. these commands are shown in section 7.9 ?modify write protect or wiperlock technology (high voltage)? . to write to eeprom, both the external wp pin and the internal wp eeprom bit mu st be disabled. write protect does not block commands to the volatile registers. 4.2.2 volatile memory (ram) there are seven volatile memory locations. these are: ? volatile wiper 0 ? volatile wiper 1 ? volatile wiper 2 ? volatile wiper 3 ? status register ? terminal control (tcon0) register 0 ? terminal control (tcon)1 register 1 the volatile memory starts functioning at the ram retention voltage (v ram ). resistance code typical r ab value default por wiper setting wiper code wiperlock? technology and write protect setting 8-bit 7-bit -502 5.0 k mid scale 80h 40h disabled -103 10.0 k mid scale 80h 40h disabled -503 50.0 k mid scale 80h 40h disabled -104 100.0 k mid scale 80h 40h disabled
mcp434x/436x ds22233a-page 34 ? 2009 microchip technology inc. 4.2.2.1 status (status) register this register contains 7 status bits. these bits show the state of the wiperlock bits, the write protect bit, and if an eeprom write cycle is active. the status register can be accessed via the read commands. register 4-1 describes each status register bit. the status register is placed at address 05h. register 4-1: status register r-1 r-1 r-1 r-1 r-0 r-x r-x r-1 r-x d8:d7 wl3 (1) wl2 (1) eewa wl1 (1) wl0 (1) ?wp (1) bit 7 bit 0 legend: r = readable bit w = writable bit u = unimplemented bit, read as ?0? -n = value at por ?1? = bit is set ?0? = bit is cleared x = bit is unknown bit 8-7 d8:d7: reserved. forced to ?1? bit 6 wl3: wiperlock status bit for resistor network 3 (refer to section 5.3 ?wiperlock? technology? for further information) the wiperlock technology bit (wl3) prevents the volatile and non-volatile wiper 3 addresses and the tcon1 register bits r3hw, r3a, r3w, and r3b from being written to. high voltage commands are required to enable and disable wiperlock technology. 1 = wiper and tcon1 register bits r3hw, r3a, r3 w, and r3b of resistor network 3 (pot 3) are ?locked? (write protected) 0 = wiper and tcon1 of resistor network 3 (pot 3) can be modified note: the wl3 bit always reflects the result of the last programming cycle to the non-volatile wl3 bit. after a por/bor or reset pin event, the wl3 bit is loaded with the non-volatile wl3 bit value. bit 5 wl2: wiperlock status bit for resistor network 2 (refer to section 5.3 ?wiperlock? technology? for further information) the wiperlock technology bit (wl2) prevents the volatile and non-volatile wiper 2 addresses and the tcon1 register bits r2hw, r2a, r2w, and r2b from being written to. high voltage commands are required to enable and disable wiperlock technology. 1 = wiper and tcon1 register bits r2hw, r2a, r2 w, and r2b of resistor network 2 (pot 2) are ?locked? (write protected) 0 = wiper and tcon1 of resistor network 2 (pot 2) can be modified note: the wl0 bit always reflects the result of the last programming cycle to the non-volatile wl0 bit. after a por/bor or reset pin event, the wl0 bit is loaded with the non-volatile wl0 bit value. bit 4 eewa: eeprom write active status bit this bit indicates if the eeprom write cycle is occurring. 1 = an eeprom write cycle is currently occurring. only serial commands to the volatile memory locations are allowed (addresses 00h, 01h, 04h, and 05h) 0 = an eeprom write cycle is not currently occurring note 1: requires a high voltage command to modify the state of th is bit (for non-volatile devices only). this bit is not directly written, but reflects the system state (for this feature).
? 2009 microchip technology inc. ds22233a-page 35 mcp434x/436x bit 3 wl1: wiperlock status bit for resistor network 1 (refer to section 5.3 ?wiperlock? technology? for further information) the wiperlock technology bit (wl1) prevents the volatile and non-volatile wiper 1 addresses and the tcon0 register bits r1hw, r1a, r1w, and r1b from being written to. high voltage commands are required to enable and disable wiperlock technology. 1 = wiper and tcon0 register bits r1hw, r1a, r1 w, and r1b of resistor network 1 (pot 1) are ?locked? (write protected) 0 = wiper and tcon0 of resistor network 1 (pot 1) can be modified note: the wl1 bit always reflects the result of the last programming cycle to the non-volatile wl1 bit. after a por/bor or reset pin event, the wl1 bit is loaded with the non-volatile wl1 bit value. bit 2 wl0: wiperlock status bit for resistor network 0 (refer to section 5.3 ?wiperlock? technology? for further information) the wiperlock technology bit (wl0) prevents the volatile and non-volatile wiper 0 addresses and the tcon0 register bits r0hw, r0a, r0w, and r0b from being written to. high voltage commands are required to enable and disable wiperlock technology. 1 = wiper and tcon0 register bits r0hw, r0a, r0 w, and r0b of resistor network 0 (pot 0) are ?locked? (write protected) 0 = wiper and tcon0 of resistor network 0 (pot 0) can be modified note: the wl0 bit always reflects the result of the last programming cycle to the non-volatile wl0 bit. after a por/bor or reset pin event, the wl0 bit is loaded with the non-volatile wl0 bit value. bit 1 reserved: forced to ? 1 ? bit 0 wp: eeprom write protect status bit (refer to section ?eeprom write protect? for further information) this bit indicates the status of the write protection on the eeprom memory. when write protect is enabled, writes to all non-volati le memory are prevented. this includes the gener al purpose eeprom memory, and the non-volatile wiper registers. write protect does not block modification of the volatile wiper register values or the volatile tcon0 and tc on1 register values (via increment, decrement, or write commands). this status bit is an or of the devices write protect pin (wp ) and the internal non-volatile wp bit. high voltage commands are require d to enable a nd disable the internal wp eeprom bit. 1 = eeprom memory is write protected 0 = eeprom memory can be written register 4-1: status register (continued) note 1: requires a high voltage command to modify the state of th is bit (for non-volatile devices only). this bit is not directly written, but reflects the system state (for this feature).
mcp434x/436x ds22233a-page 36 ? 2009 microchip technology inc. 4.2.2.2 terminal contro l (tcon) registers there are two terminal control (tcon) registers. these are called tcon0 and tcon1. each register contains 8 control bits. four bits for each wiper. register 4-2 describes each bit of the tcon0 register, while register 4-3 describes each bit of the tcon1 register. the state of each resistor network terminal connection is individually controlled. that is, each terminal connection (a, b and w) can be individually connected/ disconnected from the resistor network. this allows the system to minimize the currents through the digital potentiometer. the value that is written to the specified tcon register will appear on the appropriate resistor network terminals when the serial command has completed. when the wl1 bit is enabled, writes to the tcon0 register bits r1hw, r1a, r1w, and r1b are inhibited. when the wl0 bit is enabled, writes to the tcon0 register bits r0hw, r0a, r0w, and r0b are inhibited. when the wl3 bit is enabled, writes to the tcon1 register bits r3hw, r3a, r3w, and r3b are inhibited. when the wl2 bit is enabled, writes to the tcon1 register bits r2hw, r2a, r2w, and r2b are inhibited. on a por/bor these registers are loaded with 1ffh (9-bits), for all terminals connected. the host controller needs to detect the por/bor event and then update the volatile tcon register values.
? 2009 microchip technology inc. ds22233a-page 37 mcp434x/436x register 4-2: tcon0 bits (1) r-1 r/w-1 r/w-1 r/w-1 r/w-1 r/w-1 r/w-1 r/w-1 r/w-1 d8 r1hw r1a r1w r1b r0hw r0a r0w r0b bit 8 bit 0 legend: r = readable bit w = writable bit u = unimplemented bit, read as ?0? -n = value at por ?1? = bit is set ?0? = bit is cleared x = bit is unknown bit 8 d8: reserved. forced to ?1? bit 7 r1hw: resistor 1 hardware configuration control bit this bit forces resistor 1 into the ?shut down? configuration of the hardware pin 1 = resistor 1 is not forced to the hardware pin ?shutdown? configuration 0 = resistor 1 is forced to the har dware pin ?shutdown? configuration bit 6 r1a: resistor 1 terminal a (p1a pin) connect control bit this bit connects/disconnects the resistor 1 terminal a to the resistor 1 network 1 = p1a pin is connected to the resistor 1 network 0 = p1a pin is disconnected from the resistor 1 network bit 5 r1w: resistor 1 wiper (p1w pin) connect control bit this bit connects/disconnects the resist or 1 wiper to the resistor 1 network 1 = p1w pin is connected to the resistor 1 network 0 = p1w pin is disconnected fr om the resistor 1 network bit 4 r1b: resistor 1 terminal b (p1b pin) connect control bit this bit connects/disconnects the resistor 1 terminal b to the resistor 1 network 1 = p1b pin is connected to the resistor 1 network 0 = p1b pin is disconnected from the resistor 1 network bit 3 r0hw: resistor 0 hardware configuration control bit this bit forces resistor 0 into the ?shut down? configuration of the hardware pin 1 = resistor 0 is not forced to the hardware pin ?shutdown? configuration 0 = resistor 0 is forced to the har dware pin ?shutdown? configuration bit 2 r0a: resistor 0 terminal a (p0a pin) connect control bit this bit connects/disconnects the resistor 0 terminal a to the resistor 0 network 1 = p0a pin is connected to the resistor 0 network 0 = p0a pin is disconnected from the resistor 0 network bit 1 r0w: resistor 0 wiper (p0w pin) connect control bit this bit connects/disconnects the resist or 0 wiper to the resistor 0 network 1 = p0w pin is connected to the resistor 0 network 0 = p0w pin is disconnected fr om the resistor 0 network bit 0 r0b: resistor 0 terminal b (p0b pin) connect control bit this bit connects/disconnects the resistor 0 terminal b to the resistor 0 network 1 = p0b pin is connected to the resistor 0 network 0 = p0b pin is disconnected from the resistor 0 network note 1: these bits do not affect the wiper register values.
mcp434x/436x ds22233a-page 38 ? 2009 microchip technology inc. register 4-3: tcon1 bits (1) r-1 r/w-1 r/w-1 r/w-1 r/w-1 r/w-1 r/w-1 r/w-1 r/w-1 d8 r3hw r3a r3w r3b r2hw r2a r2w r2b bit 8 bit 0 legend: r = readable bit w = writable bit u = unimplemented bit, read as ?0? -n = value at por ?1? = bit is set ?0? = bit is cleared x = bit is unknown bit 8 d8: reserved. forced to ?1? bit 7 r3hw: resistor 3 hardware configuration control bit this bit forces resistor 3 into the ?shut down? configuration of the hardware pin 1 = resistor 3 is not forced to the hardware pin ?shutdown? configuration 0 = resistor 3 is forced to the har dware pin ?shutdown? configuration bit 6 r3a: resistor 3 terminal a (p3a pin) connect control bit this bit connects/disconnects the resistor 3 terminal a to the resistor 3 network 1 = p3a pin is connected to the resistor 3 network 0 = p3a pin is disconnected from the resistor 3 network bit 5 r3w: resistor 3 wiper (p3w pin) connect control bit this bit connects/disconnects the resist or 3 wiper to the resistor 3 network 1 = p3w pin is connected to the resistor 3 network 0 = p3w pin is disconnected from the resistor 3 network bit 4 r3b: resistor 3 terminal b (p3b pin) connect control bit this bit connects/disconnects the resistor 3 terminal b to the resistor 3 network 1 = p3b pin is connected to the resistor 3 network 0 = p3b pin is disconnected from the resistor 3 network bit 3 r2hw: resistor 2 hardware configuration control bit this bit forces resistor 2 into the ?shut down? configuration of the hardware pin 1 = resistor 2 is not forced to the hardware pin ?shutdown? configuration 0 = resistor 2 is forced to the har dware pin ?shutdown? configuration bit 2 r2a: resistor 2 terminal a (p0a pin) connect control bit this bit connects/disconnects the resistor 2 terminal a to the resistor 2 network 1 = p2a pin is connected to the resistor 2 network 0 = p2a pin is disconnected from the resistor 2 network bit 1 r2w: resistor 2 wiper (p0w pin) connect control bit this bit connects/disconnects the resist or 2 wiper to the resistor 2 network 1 = p2w pin is connected to the resistor 2 network 0 = p2w pin is disconnected from the resistor 2 network bit 0 r2b: resistor 2 terminal b (p2b pin) connect control bit this bit connects/disconnects the resistor 2 terminal b to the resistor 2 network 1 = p2b pin is connected to the resistor 2 network 0 = p2b pin is disconnected from the resistor 2 network note 1: these bits do not affect the wiper register values.
? 2009 microchip technology inc. ds22233a-page 39 mcp434x/436x 5.0 resistor network the resistor network has either 7-bit or 8-bit resolution. each re sistor network allows zero scale to full scale connections. figure 5-1 shows a block diagram for the resistive network of a device. the resistor network is made up of several parts. these include: ? resistor ladder ?wiper ? shutdown (terminal connections) devices have either four re sistor networks. these are referred to as pot 0, pot 1 pot 2, and pot 3. figure 5-1: resistor block diagram. 5.1 resistor ladder module the resistor ladder is a series of equal value resistors (r s ) with a connection point (tap) between the two resistors. the total number of resistors in the series (ladder) determines the r ab resistance (see figure 5-1 ). the end points of the resistor ladder are connected to analog switches which are connected to the device terminal a and terminal b pins. the r ab (and r s ) resistance has small va riations over voltage and temperature. for an 8-bit device, there are 256 resistors in a string between terminal a and terminal b. the wiper can be set to tap onto any of these 256 resistors thus providing 257 possible settings (including terminal a and terminal b). for a 7-bit device, there are 128 resistors in a string between terminal a and terminal b. the wiper can be set to tap onto any of these 128 resistors thus providing 129 possible settings (including terminal a and terminal b). equation 5-1 shows the calculation for the step resistance. equation 5-1: r s calculation r s a r s r s r s b 257 256 255 1 0 r w (1) w (01h) analog mux r w (1) (00h) r w (1) (feh) r w (1) (ffh) r w (1) (100h) note 1: the wiper resistance is dependent on several factors incl uding, wiper code, device v dd , terminal voltages (on a, b, and w), and temperature. also for the same conditions, each tap selection resistance has a small variation. this r w variation has greater effects on some specifications (such as inl) for the smaller resistance devices (5.0 k ) compared to larger resistance devices (100.0 k ). r ab 8-bit n = 128 127 126 1 0 (01h) (00h) (7eh) (7fh) (80h) 7-bit n = r s r ab 256 () ------------- = r s r ab 128 () ------------- - = 8-bit device 7-bit device
mcp434x/436x ds22233a-page 40 ? 2009 microchip technology inc. 5.2 wiper each tap point (between the r s resistors) is a connection point for an analog switch. the opposite side of the analog switch is connected to a common signal which is connected to the terminal w (wiper) pin. a value in the volatile wiper register selects which analog switch to close, connecting the w terminal to the selected node of the resistor ladder. the wiper can connect directly to terminal b or to terminal a. a zero scale connections, connects the terminal w (wiper) to terminal b (wiper setting of 000h). a full scale connections, connects the terminal w (wiper) to terminal a (wip er setting of 100h or 80h). in these configurations the only resistance between the terminal w and the other terminal (a or b) is that of the analog switches. a wiper setting value greater than full scale (wiper setting of 100h for 8-bit device or 80h for 7-bit devices) will also be a full scale setting (terminal w (wiper) connected to terminal a). ta b l e 5 - 1 illustrates the full wiper setting map. equation 5-2 illustrates the calculation used to determine the resistance between the wiper and terminal b. equation 5-2: r wb calculation table 5-1: volatile wiper value vs. wiper position map 5.3 wiperlock? technology the mcp43xx device?s wiperlock technology allows application-specific calibrati on settings to be secured in the eeprom without requiring the use of an additional write-protect pin. there ar e four wiperlock technology configuration bits (wl0, wl 1, wl2, and wl3). these bits prevent the non-volatile and volatile addresses and bits for the specified resistor network from being written. the wiperlock technology prevents the serial commands from doing the following: ? changing a volatile wiper value ? writing to the specified non-volatile wiper memory location ? changing the related volatile tcon register bits for either resistor networ k 0, resistor network 1, resistor network 2, or resi stor network 3 (potx), the wlx bit controls the following: ? non-volatile wiper register ? volatile wiper register ? volatile tcon register bits rxhw, rxa, rxw, and rxb high voltage commands are required to enable and disable wiperlock. please refer to the modify write protect or wiperlock technology (high voltage) command for operation. 5.3.1 por/bor operation when wiperlock technology enabled the wiperlock technology state is not affected by a por/bor event. a por/bor event will load the volatile wiper register value with the non-volatile wiper register value, refer to section 4.1 . wiper setting properties 7-bit 8-bit 3ffh ? 081h 3ffh ? 101h reserved (full scale (w = a)), increment and decrement commands ignored 080h 100h full scale (w = a), increment commands ignored 07fh ? 041h 0ffh ? 081h w = n 040h 080h w = n (mid scale) 03fh ? 001h 07fh ? 001h w = n 000h 000h zero scale (w = b) decrement command ignored r wb r ab n 256 () ------------- -r w + = n = 0 to 256 (decimal) r wb r ab n 128 () ------------- -r w + = n = 0 to 128 (decimal) 8-bit device 7-bit device
? 2009 microchip technology inc. ds22233a-page 41 mcp434x/436x 5.4 shutdown shutdown is used to minimize the device?s current consumption. the mcp43xx has one method to achieve this. this is: ? terminal control register (tcon) this is different from the mcp42xxx devices in that the hardware shutdown pin (shdn ) has been replaced by a reset pin. the hardware shutdown pin function is still available via software commands to the tcon register. 5.4.1 terminal co ntrol register (tcon) the terminal control (tcon) register is a volatile register used to configur e the connection of each resistor network terminal pin (a, b, and w) to the resistor network. these registers are shown in register 4-2 and register 4-3 . the rxhw bits forces the selected resistor network into the same state as the mcp42x1?s shdn pin. alternate low power configurations may be achieved with the rxa, rxw, and rxb bits. when the rxhw bit is ? 0 ?: ? the p0a, p1a, p2a, and p3a terminals are disconnected ? the p0w, p1w, p2w, and p3w terminals are simultaneously connect to the p0b, p1b, p2b, and p3b terminals, respectively (see figure 5-2 ) the rxhw bit does not corrupt the values in the volatile wiper registers nor the tcon register. when the shutdown mode is exited (rxhw bit = ? 1 ?): ? the device returns to the wiper setting specified by the volatile wiper value ? the tcon register bits return to controlling the terminal connection state figure 5-2: resistor network shutdown state (rxhw = ? 0 ?). note: when the rxhw bit forces the resistor network into the hardware shdn state, the state of the tcon0 or tcon1 register?s rxa, rxw, and rxb bits is overridden (ignored). when the state of the rxhw bit no longer forces the resistor network into the hardware shdn state, the tcon0 or tcon1 register?s rxa, rxw, and rxb bits return to controlling the terminal connection state. in other words, the rxhw bit does not corrupt the state of the rxa, rxw, and rxb bits. a b w resistor network
mcp434x/436x ds22233a-page 42 ? 2009 microchip technology inc. notes:
? 2009 microchip technology inc. ds22233a-page 43 mcp434x/436x 6.0 serial inte rface (spi) the mcp43xx devices support the spi serial protocol. this spi operates in the slave mode (does not generate the serial clock). the spi interface uses up to four pins. these are: ?cs - chip select ? sck - serial clock ? sdi - serial data in ? sdo - serial data out typical spi interface is shown in figure 6-1 . in the spi interface, the master?s outp ut pin is connected to the slave?s input pin and the master?s input pin is connected to the slave?s output pin. the mcp4xxx spi?s module supports two (of the four) standard spi modes. these are mode 0,0 and 1,1 . the spi mode is determined by the state of the sck pin (v ih or v il ) on the when the cs pin transitions from inactive (v ih ) to active (v il or v ihh ). all spi interface signals are high-voltage tolerant. figure 6-1: typical spi interface block diagram. sdi sdo mcp4xxx sdo sdi sck sck (master out - slave in (mosi)) (master in - slave out (miso)) host controller typical spi interface connections cs i/o (1) note 1: if high voltage commands are desired, some type of external circuitry needs to be implemented.
mcp434x/436x ds22233a-page 44 ? 2009 microchip technology inc. 6.1 sdi, sdo, sck, and cs operation the operation of the four spi interface pins are discussed in this section. these pins are: ? sdi (serial data in) ? sdo (serial data out) ? sck (serial clock) ?cs (chip select) the serial interface works on either 8-bit or 16-bit boundaries depending on the selected command. the chip select (cs ) pin frames the spi commands. 6.1.1 serial data in (sdi) the serial data in (sdi) signal is the data signal into the device. the value on this pin is latched on the rising edge of the sck signal. 6.1.2 serial data out (sdo) the serial data out (sdo) signal is the data signal out of the device. the value on this pin is driven on the falling edge of the sck signal. once the cs pin is forced to the active level (v il or v ihh ), the sdo pin will be driv en. the state of the sdo pin is determined by the serial bit?s position in the command, the command selected, and if there is a command error state (cmderr). 6.1.3 serial clock (sck) (spi frequency of operation) the spi interface is specified to operate up to 10 mhz. the actual clock rate depends on the configuration of the system and the se rial command used. table 6-1 shows the sck frequency for different configurations. table 6-1: sck frequency 6.1.4 the cs signal the chip select (cs ) signal is used to select the device and frame a command sequence. to start a command, or sequence of commands, the cs signal must transition from the inactive state (v ih ) to an active state (v il or v ihh ). after the cs signal has gone active, the sdo pin is driven and the clock bit counter is reset. if an error condition occurs for an spi command, then the command byte?s command error (cmderr) bit (on the sdo pin) will be driven low (v il ). to exit the error condition, the user must take the cs pin to the v ih level. when the cs pin returns to the inactive state (v ih ) the spi module resets (including the address pointer). while the cs pin is in the inactive state (v ih ), the serial interface is ignored. this allows the host controller to interface to other spi devices using the same sdi, sdo, and sck signals. the cs pin has an internal pull-up resistor. the resistor is disabled when the voltage on the cs pin is at the v il level. this means that when the cs pin is not driven, the internal pull-up resistor will pull this signal to the v ih level. when the cs pin is driven low (v il ), the resistance becomes very large to reduce the device current consumption. the high voltage capability of the cs pin allows high voltage commands. high voltage commands allow the device?s wiperlock technology and write protect features to be enabled and disabled. memory type access command read write, increment, decrement non-volatile memory sdi, sdo 10 mhz 10 mhz (1, 2) volatile memory sdi, sdo 10 mhz 10 mhz note 1: non-volatile memory does not support the increment or decrement command. 2: after a write command, the internal write cycle must complete before the next spi command is received. 3: this is the maximu m clock frequency without an external pull-up resistor. note: there is a required delay after the cs pin goes active to the 1st edge of the sck pin.
? 2009 microchip technology inc. ds22233a-page 45 mcp434x/436x 6.2 the spi modes the spi module supports two (of the four) standard spi modes. these are mode 0,0 and 1,1. the mode is determined by the state of the sdi pin on the rising edge of the 1st clock bit (of the 8-bit byte). 6.2.1 mode 0,0 in mode 0,0 : sck idle state = low (v il ), data is clocked in on the sdi pin on the rising edge of sck and clocked out on the sdo pin on the falling edge of sck. 6.2.2 mode 1,1 in mode 1,1 : sck idle state = high (v ih ), data is clocked in on the sdi pin on the rising edge of sck and clocked out on the sdo pin on the falling edge of sck. 6.3 spi waveforms figure 6-2 through figure 6-5 show the different spi command waveforms. figure 6-2 and figure 6-3 are read and write commands. figure 6-4 and figure 6-5 are increment and decrement commands. the high voltage increment and decrement commands are used to enable and disable wiperlock technology and write protect. figure 6-2: 16-bit commands (write, read) - spi waveform (mode 1,1). figure 6-3: 16-bit commands (write, read) - spi waveform (mode 0,0). cs sck write to sspbuf sdi input sample sdo bit15 bit14 bit13 bit12 bit11 bit10 bit9 bit8 bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 bit15 bit14 bit13 bit12 bit9 bit8 bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 ad3 ad2 ad1 ad0 c1 c0 x d8 d7 d6 d5 d4 d3 d2 d1 d0 v ih v il cmderr bit v ihh cs sck write to sspbuf sdi input sample sdo bit15 bit14 bit13 bit12 bit11 bit10 bit9 bit8 bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 bit15 bit14 bit13 bit12 bit9 bit8 bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 ad3 ad2 ad1 ad0 c1 c0 x d8 d7 d6 d5 d4 d3 d2 d1 d0 v ih v il cmderr bit v ihh
mcp434x/436x ds22233a-page 46 ? 2009 microchip technology inc. figure 6-4: 8-bit commands (increment, decrement, modify write protect or wiperlock technology) - spi waveform with pic mcu (mode 1,1). figure 6-5: 8-bit commands (increment, decrement, modify write protect or wiperlock technology) - spi waveform with pic mcu (mode 0,0). bit7 bit0 bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 cs sck write to sspbuf sdi input sample sdo v ih v il ad3 ad2 ad1 ad0 c0 c1 x x ?1? = valid command ?0? = invalid command cmderr bit v ihh sck input sample sdi bit7 bit0 sdo bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 write to sspbuf cs v ih v il ad3 ad2 ad1 ad0 c0 c1 x x ?1? = valid command ?0? = invalid command cmderr bit v ihh
? 2009 microchip technology inc. ds22233a-page 47 mcp434x/436x 7.0 device commands the mcp43xx?s spi command format supports 16 memory address locations and four commands. each command has two modes. these are: ? normal serial commands ? high-voltage serial commands normal serial commands are those where the cs pin is driven to v il . with high-voltage serial commands, the cs pin is driven to v ihh . in each mode, there are four possible commands. these commands are shown in table 7-1 . the 8-bit commands ( increment wiper and decrement wiper commands) contain a command byte, see figure 7-1 , while 16-bit commands ( read data and write data commands) contain a command byte and a data byte. the command byte contains two data bits, see figure 7-1 . table 7-2 shows the supported commands for each memory location and the corresponding values on the sdi and sdo pins. table 7-3 shows an overview of all the spi commands and their interaction with other device features. 7.1 command byte the command byte has three fields, the address, the command, and 2 data bits, see figure 7-1 . currently only one of the data bits is defined (d8). this is for the write command. the device memory is accessed when the master sends a proper command byte to select the desired operation. the memory location getting accessed is contained in the command byte?s ad3:ad0 bits. the action desired is contained in the command byte?s c1:c0 bits, see ta b l e 7 - 1 . c1:c0 determines if the desired memory location will be read, written, incremented (wiper setting +1) or decremented (wiper setting -1). the increment and decrement commands are only valid on the volat ile wiper registers, and in high voltage commands to enable/disable wiperlock technology and software write protect. as the command byte is being loaded into the device (on the sdi pin), the device?s sdo pin is driving. the sdo pin will output high bits for the first six bits of that command. on the 7th bit, the sdo pin will output the cmderr bit state (see section 7.3 ?error condition? ). the 8th bit state depends on the command selected. table 7-1: command bit overview figure 7-1: general spi command formats. c1:c0 bit states command # of bits operates on volatile/ non-volatile memory 11 read data 16-bits both 00 write data 16-bits both 01 increment (1) 8-bits volatile only 10 decrement (1) 8-bits volatile only note 1: high voltage increment and decrement commands on select non-volatile memory locations enable/disable wiperlock technology and the software write protect feature. a d 3 a d 2 a d 1 a d 0 c 1 c 0 d 9 d 8 memory command byte data address bits command bits a d 3 a d 2 a d 1 a d 0 c 1 c 0 d 9 d 8 d 7 d 6 d 5 d 4 d 3 d 2 d 1 d 0 memory 16-bit command data address bits command bits 0 0 = write data 0 1 = incr 1 0 = decr 1 1 = read data c c 1 0 command bits 8-bit command command byte data byte
mcp434x/436x ds22233a-page 48 ? 2009 microchip technology inc. table 7-2: memory map and the supported commands address command data (10-bits) (1) spi string (binary) value function mosi (sdi pin) miso (sdo pin) (2) 00h volatile wiper 0 write data nn nnnn nnnn 0000 00nn nnnn nnnn 1111 1111 1111 1111 read data nn nnnn nnnn 0000 11nn nnnn nnnn 1111 111n nnnn nnnn increment wiper ? 0000 0100 1111 1111 decrement wiper ? 0000 1000 1111 1111 01h volatile wiper 1 write data nn nnnn nnnn 0001 00nn nnnn nnnn 1111 1111 1111 1111 read data nn nnnn nnnn 0001 11nn nnnn nnnn 1111 111n nnnn nnnn increment wiper ? 0001 0100 1111 1111 decrement wiper ? 0001 1000 1111 1111 02h nv wiper 0 write data nn nnnn nnnn 0010 00nn nnnn nnnn 1111 1111 1111 1111 read data nn nnnn nnnn 0010 11nn nnnn nnnn 1111 111n nnnn nnnn hv inc. (wl0 dis) (3) ? 0010 0100 1111 1111 hv dec. (wl0 en) (4) ? 0010 1000 1111 1111 03h nv wiper 1 write data nn nnnn nnnn 0011 00nn nnnn nnnn 1111 1111 1111 1111 read data nn nnnn nnnn 0011 11nn nnnn nnnn 1111 111n nnnn nnnn hv inc. (wl1 dis) (3) ? 0011 0100 1111 1111 hv dec. (wl1 en) (4) ? 0011 1000 1111 1111 04h (5) volatile tcon 0 register write data nn nnnn nnnn 0100 00nn nnnn nnnn 1111 1111 1111 1111 read data nn nnnn nnnn 0100 11nn nnnn nnnn 1111 111n nnnn nnnn 05h (5) status register read data nn nnnn nnnn 0101 11nn nnnn nnnn 1111 111n nnnn nnnn 06h volatile wiper 2 write data nn nnnn nnnn 0110 00nn nnnn nnnn 1111 1111 1111 1111 read data nn nnnn nnnn 0110 11nn nnnn nnnn 1111 111n nnnn nnnn increment wiper ? 0110 0100 1111 1111 decrement wiper ? 0110 1000 1111 1111 07h volatile wiper 3 write data nn nnnn nnnn 0111 00nn nnnn nnnn 1111 1111 1111 1111 read data nn nnnn nnnn 0111 11nn nnnn nnnn 1111 111n nnnn nnnn increment wiper ? 0111 0100 1111 1111 decrement wiper ? 0111 1000 1111 1111 08h nv wiper 2 write data nn nnnn nnnn 1000 00nn nnnn nnnn 1111 1111 1111 1111 read data nn nnnn nnnn 1000 11nn nnnn nnnn 1111 111n nnnn nnnn hv inc. (wl2 dis) (3) ? 1000 0100 1111 1111 hv dec. (wl2 en) (4) ? 1000 1000 1111 1111 09h nv wiper 3 write data nn nnnn nnnn 1001 00nn nnnn nnnn 1111 1111 1111 1111 read data nn nnnn nnnn 1001 11nn nnnn nnnn 1111 111n nnnn nnnn hv inc. (wl3 dis) (3) ? 1001 0100 1111 1111 hv dec. (wl3 en) (4) ? 1001 1000 1111 1111 0ah (5) volatile tcon 1 register write data nn nnnn nnnn 1010 00nn nnnn nnnn 1111 1111 1111 1111 read data nn nnnn nnnn 1010 11nn nnnn nnnn 1111 111n nnnn nnnn 0bh (5) data eeprom write data nn nnnn nnnn 1011 00nn nnnn nnnn 1111 1111 1111 1111 read data nn nnnn nnnn 1011 11nn nnnn nnnn 1111 111n nnnn nnnn 0ch (5) data eeprom write data nn nnnn nnnn 1100 00nn nnnn nnnn 1111 1111 1111 1111 read data nn nnnn nnnn 1100 11nn nnnn nnnn 1111 111n nnnn nnnn 0dh (5) data eeprom write data nn nnnn nnnn 1101 00nn nnnn nnnn 1111 1111 1111 1111 read data nn nnnn nnnn 1101 11nn nnnn nnnn 1111 111n nnnn nnnn 0eh (5) data eeprom write data nn nnnn nnnn 1110 00nn nnnn nnnn 1111 1111 1111 1111 read data nn nnnn nnnn 1110 11nn nnnn nnnn 1111 111n nnnn nnnn 0fh data eeprom write data nn nnnn nnnn 1111 00nn nnnn nnnn 1111 1111 1111 1111 read data nn nnnn nnnn 1111 11nn nnnn nnnn 1111 111n nnnn nnnn hv inc. (wp dis) (3) ? 1111 0100 1111 1111 hv dec. (wp en) (4) ? 1111 1000 1111 1111 note 1: the data memory is only 9-bits wide, so the msb is ignored by the device. 2: all these address/command combinations are valid, so the cmderr bit is set. any other address/command combination is a command error state and the cmderr bit will be clear. 3: disables wiperlock technology for wiper 0, wiper 1, wiper 2, wiper3, or disables write protect. 4: enables wiperlock technology for wiper 0, wiper 1, wiper 2, wiper3, or enables write protect. 5: increment or decrement commands are invalid for these addresses.
? 2009 microchip technology inc. ds22233a-page 49 mcp434x/436x 7.2 data byte only the read command and the write command use the data byte, see figure 7-1 . these commands concatenate the 8 bits of the data byte with the one data bit (d8) contained in the command byte to form 9-bits of data (d8:d0). the command byte format supports up to 9-bits of data so that the 8-bit resistor network can be set to full scale (100h or greater). this allows wiper connections to terminal a and to terminal b. the d9 bit is currently unused, and corresponds to the position on the sdo data of the cmderr bit. 7.3 error condition the cmderr bit indicates if the four address bits received (ad3:ad0) and the two command bits received (c1:c0) are a valid combination (see table 4-1 ). the cmderr bit is high if the combination is valid and low if the combination is invalid. the command error bit will also be low if a write to a non-volatile address has been specified and another spi command occurs before the cs pin is driven inactive (v ih ). spi commands that do not have a multiple of 8 clocks are ignored. once an error condition has occurred, any following commands are ignored. all following sdo bits will be low until the cmderr condition is cleared by forcing the cs pin to the inactive state (v ih ). 7.3.1 aborting a transmission all spi transmissions must have the correct number of sck pulses to be executed. the command is not executed until the comple te number of clocks have been received. some commands also require the cs pin to be forced inactive (v ih ). if the cs pin is forced to the inactive state (v ih ) the serial interface is reset. partial commands are not executed. spi is more susceptible to noise than other bus protocols. the most likely case is that this noise corrupts the value of the data being clocked into the mcp43xx or the sck pin is injected with extra clock pulses. this may cause data to be corrupted in the device, or a command error to occur, since the address and command bits were not a valid combination. the extra sck pulse will also cause the spi data (sdi) and clock (sck) to be out of sync. forcing the cs pin to the inactive state (v ih ) resets the serial interface. the spi interface will ignore activity on the sdi and sck pins until the cs pin transition to the active state is detected (v ih to v il or v ih to v ihh ). note 1: when data is not being received by the mcp43xx, it is recommended that the cs pin be forced to the inactive level (v il ) 2: it is also recommended that long continuous command strings should be broken down into single commands or shorter continuous command strings. this reduces the probability of noise on the sck pin corrupting the desired spi commands.
mcp434x/436x ds22233a-page 50 ? 2009 microchip technology inc. 7.4 continuous commands the device supports the ability to execute commands continuously. while the cs pin is in the active state (v il or v ihh ). any sequence of valid commands may be received. the following example is a valid sequence of events: 1. cs pin driven active (v il or v ihh ). 2. read command. 3. increment command (wiper 0). 4. increment command (wiper 0). 5. decrement command (wiper 1). 6. write command (volatile memory). 7. write command (non-volatile memory). 8. cs pin driven inactive (v ih ). note 1: it is recommended that while the cs pin is active, only one type of command should be issued. when changing commands, it is recommended to take the cs pin inactive then force it back to the active state. 2: it is also recommended that long command strings should be broken down into shorter command strings. this reduces the probability of noise on the sck pin corrupting the desired spi command string.
? 2009 microchip technology inc. ds22233a-page 51 mcp434x/436x table 7-3: commands command name # of bits writes value in eeprom operates on volatile/ non-volatile memory high voltage (v ihh ) on cs pin? impact on wiperlock or write protect works when wiper is ?locked?? write data 16-bits yes (1) both ? unlocked (1) no read data 16-bits ? both ? unlocked (1) no increment wiper 8-bits ? volatile only ? unlocked (1) no decrement wiper 8-bits ? volatile only ? unlocked (1) no high voltage write data 16-bits yes both yes unchanged no high voltage read data 16-bits ? both yes unchanged yes high voltage increment wiper 8-bits ? volatile only yes unchanged no high voltage decrement wiper 8-bits ? volatile only yes unchanged no modify write protect or wiper- lock technology (high voltage) - enable 8-bits ? (2) non-volatile only (2) yes locked/ protected (2) yes modify write protect or wiper- lock technology (high voltage) - disable 8-bits ? (3) non-volatile only (3) yes unlocked/ unprotected (3) yes note 1: this command will only complete if wiper is ?unlocked? (wiperlock technology is disabled). 2: if the command is executed using add ress 02h, 03h, 08h, or 09h then t hat corresponding wiper is locked or if with address 0fh, then write protect is enabled. 3: if the command is executed using with address 02h, 03h, 08h, or 09h, then that corresponding wiper is unlocked or if with address 0fh, then write protect is disabled.
mcp434x/436x ds22233a-page 52 ? 2009 microchip technology inc. 7.5 write data normal and high voltage the write command is a 16-bit command. the write command can be issued to both the volatile and non-volatile memory loca tions. the format of the command is shown in figure 7-2 . a write command to a volatile memory location changes that location after a properly formatted write command (16-clock) have been received. a write command to a non-volatile memory location will only start a write cycle after a properly formatted write command (16-clock) have been received and the cs pin transitions to the inactive state (v ih ). 7.5.1 single write to volatile memory the write operation requires that the cs pin be in the active state (v il or v ihh ). typically, the cs pin will be in the inactive state (v ih ) and is driven to the active state (v il ). the 16-bit write command (command byte and data byte) is then clocked in on the sck and sdi pins. once all 16 bits have been received, the specified volatile address is updated. a write will not occur if the write command isn?t exactly 16 clocks pulses. this protects against system issues from corrupting the non-volatile memory locations. figure 6-2 and figure 6-3 show possible waveforms for a single write. 7.5.2 single write to non-volatile memory the sequence to write to a single non-volatile memory location is the same as a single write to volatile memory with the exception that after the cs pin is driven inactive (v ih ), the eeprom write cycle (t wc ) is started. a write cycle will not start if the write command isn?t exactly 16 clocks pulses. this protects against system issues from corrupting the non-volatile memory locations. after the cs pin is driven inactive (v ih ), the serial interface may immediately be re-enabled by driving the cs pin to the active state (v il or v ihh ). during an eeprom write cycl e, only serial commands to volatile memory (addresse s 00h, 01h, 04h, 05h, 06h, 07h, and 0ah) are accepted. all other serial commands are ignored until the eeprom write cycle (t wc ) com- pletes. this allows the host controller to operate on the volatile wiper registers and the tcon register, and to read the status register. the eewa bit in the status register indicate s the status of an eeprom write cycle. once a write command to a non-volatile memory location has been received, no other spi commands should be received before the cs pin transitions to the inactive state (v ih ) or the current spi command will have a command error (cmderr) occur. figure 7-2: write command - sdi and sdo states. note: writes to certain memory locations will be dependant on the state of the wiperlock technology bits and the write protect bit. a d 3 a d 2 a d 1 a d 0 00d 9 d 8 d 7 d 6 d 5 d 4 d 3 d 2 d 1 d 0 1111111111111111valid address/command combination 111111 0 0 0 0 0 0 0 0 0 0 invalid address/command combination (1) command byte data byte sdi sdo note 1: if an error condition occurs (cmderr = l), all following sdo bits will be low until the cmderr condition is cleared (the cs pin is forced to the inactive state).
? 2009 microchip technology inc. ds22233a-page 53 mcp434x/436x 7.5.3 continuous writes to volatile memory continuous writes are possible only when writing to the volatile memory registers (address 00h, 01h, and 04h). figure 7-3 shows the sequence for three continuous writes. the writes do not need to be to the same volatile memory address. 7.5.4 continuous writes to non-volatile memory continuous writes to non-volatile memory are not allowed, and attempts to do so will result in a command error (cmderr) condition. figure 7-3: continuous write sequence (volatile memory only). a d 3 a d 2 a d 1 a d 0 00d 9 d 8 d 7 d 6 d 5 d 4 d 3 d 2 d 1 d 0 1111111*111111111 a d 3 a d 2 a d 1 a d 0 00d 9 d 8 d 7 d 6 d 5 d 4 d 3 d 2 d 1 d 0 1111111*111111111 a d 3 a d 2 a d 1 a d 0 00d 9 d 8 d 7 d 6 d 5 d 4 d 3 d 2 d 1 d 0 1111111*111111111 command byte data byte sdi sdo note 1: if a command error (cmderr) occurs at this bit location (*), then all following sdo bits will be driven low until the cs pin is driven inactive (v ih ).
mcp434x/436x ds22233a-page 54 ? 2009 microchip technology inc. 7.6 read data normal and high voltage the read command is a 16-bit command. the read command can be issued to both the volatile and non-volatile memory loca tions. the format of the command is shown in figure 7-4 . the first 6 bits of the read command determine the address and the command. the 7th clock will output the cmderr bit on the sdo pin. the remaining 9-clocks the device will transmit the 9 data bits (d8:d0) of the specified address (ad3:ad0). figure 7-4 shows the sdi and sdo information for a read command. during a write cycle (write or high voltage write to a non-volatile memory location) the read command can only read the volatile memory locations. by reading the status register (04h), the host controller can determine when the write cycl e has completed (via the state of the eewa bit). 7.6.1 single read the read operation re quires that the cs pin be in the active state (v il or v ihh ). typically, the cs pin will be in the inactive state (v ih ) and is driven to the active state (v il or v ihh ). the 16-bit re ad command (command byte and data byte) is then clocked in on the sck and sdi pins. the sdo pin starts driving data on the 7th bit (cmderr bit) and the addressed data comes out on the 8th through 16th clocks. figure 6-2 through figure 6-3 show possible waveforms for a single read. figure 7-4: read command - sdi and sdo states. a d 3 a d 2 a d 1 a d 0 1 1xxxxxxxxxx 1111111d 8 d 7 d 6 d 5 d 4 d 3 d 2 d 1 d 0 valid address/command combination 1111110000000000attempted non-volatile memory read during non-volatile memory write cycle command byte data byte sdi sdo read data
? 2009 microchip technology inc. ds22233a-page 55 mcp434x/436x 7.6.2 continuous reads continuous reads allow the devices memory to be read quickly. continuous reads are possible to all memory locations. if a non-volatile memory write cycle is occurring, then read comm ands may only access the volatile memory locations. figure 7-5 shows the sequence for three continuous reads. the reads do not need to be to the same memory address. figure 7-5: continuous read sequence. a d 3 a d 2 a d 1 a d 0 1 1xxxxxxxxxx 1111111*d 8 d 7 d 6 d 5 d 4 d 3 d 2 d 1 d 0 a d 3 a d 2 a d 1 a d 0 1 1xxxxxxxxxx 1111111*d 8 d 7 d 6 d 5 d 4 d 3 d 2 d 1 d 0 a d 3 a d 2 a d 1 a d 0 1 1xxxxxxxxxx 1111111*d 8 d 7 d 6 d 5 d 4 d 3 d 2 d 1 d 0 command byte data byte sdi sdo note 1: if a command error (cmderr) occurs at this bit location (*), then all following sdo bits will be driven low until the cs pin is driven inactive (v ih ).
mcp434x/436x ds22233a-page 56 ? 2009 microchip technology inc. 7.7 increment wiper normal and high voltage the increment command is an 8-bit command. the increment command can only be issued to volatile memory locations. the format of the command is shown in figure 7-6 . an increment command to the volatile memory location changes that location after a properly formatted command (8-clocks) have been received. increment commands provide a quick and easy method to modify the value of the volatile wiper location by +1 with minimal overhead. figure 7-6: increment command - sdi and sdo states. 7.7.1 single increment typically, the cs pin starts at the inactive state (v ih ), but may be already be in the active state due to the completion of another command. figure 6-4 through figure 6-5 show possible waveforms for a single increment. the increment operation requires that the cs pin be in the active state (v il or v ihh ). typically, the cs pin will be in the inactive state (v ih ) and is driven to the active state (v il or v ihh ). the 8-bit increment command (command byte) is then clocked in on the sdi pin by the sck pins. the sdo pin drives the cmderr bit on the 7th clock. the wiper value will increment up to 100h on 8-bit devices and 80h on 7-bit devices. after the wiper value has reached full scale (8-bit =100h, 7-bit =80h), the wiper value will not be incremented further. if the wiper register has a value between 101h and 1ffh, the increment command is disabled. see table 7-4 for additional information on the increment command versus the current volatile wiper value. the increment operations only require the increment command byte while the cs pin is active (v il or v ihh ) for a single increment. after the wiper is incremented to the desired position, the cs pin should be forced to v ih to ensure that unexpected transitions on the sck pin do not cause the wiper setting to change. driving the cs pin to v ih should occur as soon as possible (within device specifications) after the last desired increment occurs. table 7-4: increment operation vs. volatile wiper value note: table 7-2 shows the valid addresses for the increment wiper command. other addresses are invalid. a d 3 a d 2 a d 1 a d 0 01xx 1111111*1 note 1, 2 111111 0 0 note 1, 3 (incr command (n+1)) sdi sdo command byte note 1: only functions when writing the volatile wiper registers (ad3:ad0) 0h and 1h. 2: valid address/command combination. 3: invalid address/command combination all following sdo bits will be low until the cmderr condition is cleared. (the cs pin is forced to the inactive state). 4: if a command erro r (cmderr) occurs at this bit location (*), then all following sdo bits will be driven low until the cs pin is driven inactive (v ih ). current wiper setting wiper (w) properties increment command operates? 7-bit pot 8-bit pot 3ffh 081h 3ffh 101h reserved (full scale (w = a)) no 080h 100h full scale (w = a) no 07fh 041h 0ffh 081 w = n 040h 080h w = n (mid scale) yes 03fh 001h 07fh 001 w = n 000h 000h zero scale (w = b) yes
? 2009 microchip technology inc. ds22233a-page 57 mcp434x/436x 7.7.2 continuous increments continuous increments are possible only when writing to the volatile memory registers (address 00h, and 01h). figure 7-7 shows a continuous increment sequence for three continuous writes . the writes do not need to be to the same volatile memory address. when executing an contin uous increment commands, the selected wiper will be altered from n to n+1 for each increment command received. the wiper value will increment up to 100h on 8-bit devices and 80h on 7-bit devices. after the wiper value has reached full scale (8-bit =100h, 7-bit =80h), the wiper value will not be incremented further. if the wiper register has a value between 101h and 1ffh, the increment command is disabled. increment commands can be sent repeatedly without raising cs until a desired condition is met. the value in the volatile wiper register can be read using a read command and written to the corresponding non-volatile wiper eeprom using a write command. when executing a continuous command string, the increment command can be followed by any other valid command. the wiper terminal will move after the command has been received (8th clock). after the wiper is incremented to the desired position, the cs pin should be forced to v ih to ensure that unexpected transitions (on the sck pin do not cause the wiper setting to change). driving the cs pin to v ih should occur as soon as possible (within device specifications) after the last desired increment occurs. figure 7-7: continuous increment command - sdi and sdo states. a d 3 a d 2 a d 1 a d 0 0 1xxa d 3 a d 2 a d 1 a d 0 0 1xxa d 3 a d 2 a d 1 a d 0 01xx 1111111*11111111*11111111*1 note 1, 2 111111 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 note 3, 4 11111111111111 0 0 0 0 0 0 0 0 0 0 note 3, 4 1111111111111111111111 0 0 note 3, 4 (incr command (n+1)) (incr command (n+2)) (incr command (n+3)) sdi sdo command byte command byte command byte note 1: only functions when writing the volatile wiper registers (ad3:ad0) 0h and 1h. 2: valid address/command combination. 3: invalid address/command combination. 4: if an error condition occurs (cmderr = l), a ll following sdo bits will be low until the cmderr condition is cleared (the cs pin is forced to the inactive state).
mcp434x/436x ds22233a-page 58 ? 2009 microchip technology inc. 7.8 decrement wiper normal and high voltage the decrement command is an 8-bit command. the decrement command can only be issued to volatile memory locations. the format of the command is shown in figure 7-6 . a decrement command to the volatile memory location changes that location after a properly formatted command (8 clocks) have been received. decrement commands provide a quick and easy method to modify the value of the volatile wiper location by -1 with minimal overhead. figure 7-8: decrement command - sdi and sdo states. 7.8.1 single decrement typically, the cs pin starts at the inactive state (v ih ), but may already be in the active state due to the completion of another command. figure 6-4 through figure 6-5 show possible waveforms for a single decrement. the decrement operation requires that the cs pin be in the active state (v il or v ihh ). typically, the cs pin will be in the inactive state (v ih ) and is driven to the active state (v il or v ihh ). then the 8-bit decrement command (command byte) is clocked in on the sdi pin by the sck pins. the sdo pin drives the cmderr bit on the 7th clock. the wiper value will decrement from the wiper?s full scale value (100h on 8-bit devices and 80h on 7-bit devices). above the wiper?s full scale value (8-bit =101h to 1ffh, 7-bit = 81h to ffh), the decrement command is disabled. if the wiper register has a zero scale value (000h), then the wiper value will not decrement. see ta b l e 7 - 4 for additional information on the decrement command vs. the current volatile wiper value. the decrement commands only require the decrement command byte, while the cs pin is active (v il or v ihh ) for a single decrement. after the wiper is decremented to the desired position, the cs pin should be forced to v ih to ensure that unexpected transitions on the sck pin do not cause the wiper setting to change. driving the cs pin to v ih should occur as soon as possible (within device specifications) after the last desired decrement occurs. table 7-5: decrement operation vs. volatile wiper value note: table 7-2 shows the valid addresses for the decrement wiper command. other addresses are invalid. a d 3 a d 2 a d 1 a d 0 10xx 1111111*1 note 1, 2 111111 0 0 note 1, 3 (decr command (n+1)) sdi sdo command byte note 1: only functions when writing the volatile wiper registers (ad3:ad0) 0h and 1h. 2: valid address/command combination. 3: invalid address/command combination all following sdo bits will be low until the cmderr condition is cleared. (the cs pin is forced to the inactive state). 4: if a command error (cmderr) occurs at this bit location (*), then all following sdo bits will be driven low until the cs pin is driven inactive (v ih ). current wiper setting wiper (w) properties decrement command operates? 7-bit pot 8-bit pot 3ffh 081h 3ffh 101h reserved (full scale (w = a)) no 080h 100h full scale (w = a) yes 07fh 041h 0ffh 081 w = n 040h 080h w = n (mid scale) yes 03fh 001h 07fh 001 w = n 000h 000h zero scale (w = b) no
? 2009 microchip technology inc. ds22233a-page 59 mcp434x/436x 7.8.2 continuous decrements continuous decrements are possible only when writing to the volatile memory registers (address 00h, 01h, and 04h). figure 7-9 shows a continuous decrement sequence for three continuous writes . the writes do not need to be to the same volatile memory address. when executing continuous decrement commands, the selected wiper will be altered from n to n-1 for each decrement command received. the wiper value will decrement from the wiper?s full scale value (100h on 8-bit devices and 80h on 7-bit devices). above the wiper?s full scale value (8-bit =101h to 1ffh, 7-bit = 81h to ffh), the decrement command is disabled. if the wiper register has a zero scale value (000h), then the wiper value will not decrement. see table 7-4 for additional information on the decrement command vs. the current volatile wiper value. decrement commands can be sent repeatedly without raising cs until a desired condition is met. the value in the volatile wiper register can be read using a read command and written to the corresponding non-volatile wiper eeprom using a write command. when executing a continuous command string, the decrement command can be followed by any other valid command. the wiper terminal will move after the command has been received (8th clock). after the wiper is decremented to the desired position, the cs pin should be forced to v ih to ensure that ?unexpected? transitions ( on the sck pin do not cause the wiper setting to change). driving the cs pin to v ih should occur as soon as possible (within device specifications) after the last desired decrement occurs. figure 7-9: continuous decrement command - sdi and sdo states. a d 3 a d 2 a d 1 a d 0 1 0xxa d 3 a d 2 a d 1 a d 0 1 0xxa d 3 a d 2 a d 1 a d 0 10xx 1111111*11111111*11111111*1 note 1, 2 111111 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 note 3, 4 11111111111111 0 0 0 0 0 0 0 0 0 0 note 3, 4 1111111111111111111111 0 0 note 3, 4 (decr command (n-1)) (decr command (n-1)) (decr command (n-1)) sdi sdo command byte command byte command byte note 1: only functions when writing the volatile wiper registers (ad3:ad0) 0h and 1h. 2: valid address/command combination. 3: invalid address/command combination. 4: if an error condition occurs (cmderr = l), all following sdo bits will be low until the cmderr condition is cleared (the cs pin is forced to the inactive state).
mcp434x/436x ds22233a-page 60 ? 2009 microchip technology inc. 7.9 modify write protect or wiperlock technology (high voltage) enable and disable this command is a special case of the high voltage decrement wiper and high voltage increment wiper commands to the non-volatile memory locations 02h, 03h, and 0fh. this command is used to enable or disable either the software write protect, wiper 0, wiper 1, wiper 2 and wiper 3 wiperlock technology. table 7-6 shows the memory addresses, the high voltage command and the result of those commands on the non-volatile wp, wl0 wl1, wl2, or wl3 bits. the format of the command is shown in figure 7-8 (enable) or figure 7-6 (disable). 7.9.1 single enable write protect or wiperlock technology (high voltage) figure 6-4 through figure 6-5 show possible waveforms for a single modify write protect or wiperlock technology command. a modify write protect or wiperlock technology command will only start an eeprom write cycle (t wc ) after a properly formatted command (8-clocks) has been received and the cs pin transitions to the inactive state (v ih ). after the cs pin is driven inactive (v ih ), the serial interface may immediately be re-enabled by driving the cs pin to the active state (v il or v ihh ). during an eeprom write cycl e, only serial commands to volatile memory (addresse s 00h, 01h, 04h, 05h, 06h, 07h, and 0ah) are accepted. all other serial commands are ignored until the eeprom write cycle (t wc ) com- pletes. this allows the host controller to operate on the volatile wiper registers and the tcon register, and to read the status register. the eewa bit in the status register indicate s the status of an eeprom write cycle. table 7-6: address map to modify write protect and wiperlock technology memory address command?s and result high voltage decrement wiper high voltage increment wiper 00h wiper 0 register is decremented wiper 0 register is incremented 01h wiper 1 register is decremented wiper 1 register is incremented 02h wl0 is enabled wl0 is disabled 03h wl1 is enabled wl1 is disabled 04h (1) tcon0 register not changed, cmderr bit is set tcon0 register not changed, cmderr bit is set 05h (1) status register not changed, cmderr bit is set status register not changed, cmderr bit is set 06h wiper 2 register is decremented wiper 2 register is incremented 07h wiper 3 register is decremented wiper 3 register is incremented 08h wl2 is enabled wl2 is disabled 09h wl3 is enabled wl3 is disabled 0ah (1) tcon1 register not changed, cmderr bit is set tcon1 register not changed, cmderr bit is set 0bh - 0eh (1) reserved reserved 0fh wp is enabled wp is disabled note 1: reserved addresses: increment or decrement commands are invalid for these addresses.
? 2009 microchip technology inc. ds22233a-page 61 mcp434x/436x 8.0 applications examples non-volatile digital potentiometers have a multitude of practical uses in modern electronic circuits. the most popular uses include precision calibration of set point thresholds, sensor trimming, lcd bias trimming, audio attenuation, adjustable power supplies, motor control overcurrent trip setting, adjustable gain amplifiers and offset trimming. the mcp434x/436x devices can be used to replace the common mechanical trim pot in applications where the operating and terminal voltages are within cmos process limitations (v dd = 2.7v to 5.5v). 8.1 split rail applications all inputs that would be used to interface to a host controller support high voltage on their input pin. this allows the mcp43xx device to be used in split power rail applications. an example of this is a battery application where the pic ? mcu is directly powered by the battery supply (4.8v) and the mcp43xx device is powered by the 3.3v regulated voltage. for spi applications, these inputs are: ?cs ?sck ? sdi (or sdi/sdo) ?wp ? reset figure 8-1 through figure 8-2 show three example split rail systems. in this syst em, the mcp43xx interface input signals need to be able to support the pic mcu output high voltage (v oh ). in example #1 ( figure 8-1 ), the mcp43xx interface input signals need to be able to support the pic mcu output high voltage (v oh ). if the split rail voltage delta becomes too large, then the customer may be required to do some level shifting due to mcp43xx v oh levels related to host controller v ih levels. in example #2 ( figure 8-2 ), the mcp43xx interface input signals need to be able to support the lower voltage of the pic mcu output high voltage level (v oh ). table 8-1 shows an example pic microcontroller i/o voltage specifications and the mcp43xx specifications. so this pic mcu operating at 3.3v will drive a v oh at 2.64v, and for the mcp43xx operating at 5.5v, the v ih is 2.47v. therefore, the interface signals meet specifications. figure 8-1: example split rail system 1. figure 8-2: example split rail system 2. table 8-1: v oh - v ih comparisons pic (1) mcp4xxx (2) comment v dd v ih v oh v dd v ih v oh 5.5 4.4 4.4 2.7 1.215 ? (3) 5.0 4.0 4.0 3.0 1.35 ? (3) 4.5 3.6 3.6 3.3 1.485 ? (3) 3.3 2.64 2.64 4.5 2.025 ? (3) 3.0 2.4 2.4 5.0 2.25 ? (3) 2.7 2.16 2.16 5.5 2.475 ? (3) note 1: v oh minimum = 0.8 * v dd ; v ol maximum = 0.6v v ih minimum = 0.8 * v dd ; v il maximum = 0.2 * v dd ; 2: v oh minimum (sda only) =; v ol maximum = 0.2 * v dd v ih minimum = 0.45 * v dd ; v il maximum = 0.2 * v dd 3: the only mcp4xxx output pin is sdo, which is open-drain (or open-drain with internal pull-up) with high voltage support voltage regulator 5v 3v pic mcu mcp4xxx sdi cs sck wp reset sdi cs sck wp i/o sdo sdo voltage regulator 3v 5v pic mcu mcp4xxx sdi cs sck wp reset sdi cs sck wp i/o sdo sdo
mcp434x/436x ds22233a-page 62 ? 2009 microchip technology inc. 8.2 techniques to force the cs pin to v ihh the circuit in figure 8-3 shows a method using the tc1240a doubling charge pump. when the shdn pin is high, the tc1240a is off, and the level on the cs pin is controlled by the pic? microcontrollers (mcus) io2 pin. when the shdn pin is low, the tc1240a is on and the v out voltage is 2 * v dd . the resistor r 1 allows the cs pin to go higher than the voltage such that the pic mcu?s io2 pin ?clamps? at approximately v dd . figure 8-3: using the tc1240a to generate the v ihh voltage. the circuit in figure 8-4 shows the method used on the mcp402x non-volatile digital potentiometer evaluation board (part number: mcp402xev). this method requires that t he system voltage be approximately 5v. this ensures that when the pic10f206 enters a brown-out condition, there is an insufficient voltage level on the cs pin to change the stored value of the wiper. the mcp402x non-volatile digital potentiometer evaluation board user?s guide (ds51546) contains a complete schematic. gp0 is a general purpose i/ o pin, while gp2 can either be a general purpose i/o pin or it can output the internal clock. for the serial commands, configure the gp2 pin as an input (high impedance). the output state of the gp0 pin will determine the voltage on the cs pin (v il or v ih ). for high-voltage serial commands, force the gp0 output pin to output a high level (v oh ) and configure the gp2 pin to output the internal clock. this will form a charge pump and increase the voltage on the cs pin (when the system voltage is approximately 5v). figure 8-4: mcp4xxx non-volatile digital potentiometer evaluation board (mcp402xev) implementation to generate the v ihh voltage. 8.3 using shutdown modes figure 8-5 shows a possible application circuit where the independent terminals could be used. disconnecting the wiper allo ws the transistor input to be taken to the bias voltage level (disconnecting a and or b may be desired to reduce system current). disconnecting terminal a modifies the transistor input by the r bw rheostat value to the common b. disconnecting terminal b modifies the transistor input by the r aw rheostat value to the common a. the common a and common b connections could be connected to v dd and v ss . figure 8-5: example application circuit using terminal disconnects. cs pic mcu mcp4xxx r 1 io1 io2 c 2 tc1240a v in shdn c+ c- v out c 1 cs pic10f206 mcp4xxx r 1 gp0 gp2 c 2 c 1 balance bias w b input input to b a s e of transistor (or amplifier) a common b common a
? 2009 microchip technology inc. ds22233a-page 63 mcp434x/436x 8.4 design considerations in the design of a system with the mcp43xx devices, the following considerations should be taken into account: ? power supply considerations ? layout considerations 8.4.1 power supply considerations the typical application will require a bypass capacitor in order to filter high-fr equency noise, which can be induced onto the power supply's traces. the bypass capacitor helps to minimize the effect of these noise sources on signal integrity. figure 8-6 illustrates an appropriate bypass strategy. in this example, the recommended bypass capacitor value is 0.1 f. this capacitor should be placed as close (within 4 mm) to the device power pin (v dd ) as possible. the power source supplying these devices should be as clean as possible. if the application circuit has separate digital and analog power supplies, v dd and v ss should reside on the analog plane. figure 8-6: typical microcontroller connections. 8.4.2 layout considerations several layout considerations may be applicable to your application. these may include: ? noise ? footprint compatibility ? pcb area requirements 8.4.2.1 noise inductively-coupled ac transients and digital switching noise can degrade the input and output signal integrity, potentially masking the mcp43xx?s performance. careful board layout minimizes these effects and increases the signal-to-noise ratio (snr). multi-layer boards utilizing a low-inductance ground plane, isolated inputs, isolated outputs and proper decoupling are critical to achieving th e performance that the silicon is capable of providing. particularly harsh environments may require shie lding of critical signals. if low noise is desired, breadboards and wire-wrapped boards are not recommended. 8.4.2.2 footprint compatibility the specification of the mcp43xx pinouts was done to allow systems to be designed to easily support the use of either the dual (mcp42xx) or quad (mcp43xx) device. figure 8-7 shows how the dual pinout devices fit on the quad device footprint. for the rheostat devices, the dual device is in the msop package, so the footprints would need to be offset from each other. figure 8-7: quad pinout (tssop package) vs. dual pinout. v dd v dd v ss v ss mcp434x/436x 0.1 f pic tm microcontroller 0.1 f u/d cs w b a 1 2 3 4 17 18 19 20 reset sdo wp v dd mcp43x1 quad potentiometers tssop 5 6 7 14 15 16 p0w p0b p0a p1a p1w p1b v ss cs sdi sck mcp43x2 quad rheostat 1 2 3 4 11 12 13 14 p0b sdo p0w v dd tssop 5 6 7 8 9 10 p2w p1w p2b p3b p3w p1b v ss cs sdi sck 8 9 10 p3b p3w p3a 12 12 p2w p2a p2b 11 mcp42x1 pinout (1) mcp42x2 pinout note 1: pin 15 (reset ) is the shutdown (shdn ) pin on the mcp42x1 device.
mcp434x/436x ds22233a-page 64 ? 2009 microchip technology inc. figure 8-8 shows possible layout implementations for an application to support the quad and dual options on the same pcb. figure 8-8: layout to support quad and dual devices. 8.4.2.3 pcb area requirements in some applications, pcb area is a criteria for device selection. ta b l e 8 - 2 shows the package dimensions and area for the different package options. the table also shows the relative area factor compared to the smallest area. for space critical applications, the qfn package would be the suggested package. table 8-2: package footprint (1) 8.4.3 resistor tempco characterization curves of the resistor temperature coefficient (tempco) are shown in figure 2-8 , figure 2-19 , figure 2-29 , and figure 2-39 . these curves show that the resistor network is designed to correct for the change in resistance as temperature increases. this technique reduces the end to end change is r ab resistance. 8.4.4 high voltage tolerant pins high voltage support (v ihh ) on the serial interface pins supports two features. these are: ? in-circuit accommodation of split rail applications and power supply sync issues ? user configuration of the non-volatile eeprom, write protect, and wiperlock feature potentiometers devices rheostat devices mcp43x1 mcp42x1 mcp43x2 mcp42x2 package package footprint pins type code dimensions (mm) area (mm 2 ) relative area xy 14 tssop st 5.10 6.40 32.64 2.04 20 qfn ml 4.00 4.00 16.00 1 tssop st 6.60 6.40 42.24 2.64 note 1: does not include recommended land pattern dimensions. note: in many applications, the high voltage will only be present at the manufacturing stage so as to ?lock? the non-volatile wiper value (after calibration) and the contents of the eeprom. this ensures that since high voltage is not present under normal operating conditions, these values can not be modified.
? 2009 microchip technology inc. ds22233a-page 65 mcp434x/436x 9.0 development support 9.1 development tools several development tools are available to assist in your design and evaluation of the mcp43xx devices. the currently available tools are shown in ta b l e 9 - 1 . these boards may be purchased directly from the microchip web site at www.microchip.com. 9.2 technical documentation several additional technical documents are available to assist you in your design and development. these technical documents include application notes, technical briefs, and design guides. ta b l e 9 - 2 shows some of these documents. table 9-1: development tools table 9-2: technical documentation board name part # supported devices 20-pin tssop and ssop evaluation board tssop20ev mcp43xx mcp4361 evaluation board (1) mcp43xxev mcp4361 mcp42xx digital potentiometer pictail plus demo board mcp42xxdm-ptpls mcp42xx mcp4xxx digital potentiometer daughter board (2) mcp4xxxdm-db mcp42xxx, mcp42xx, mcp4021, and mcp4011 note 1: this evaluation board is planned to be available by march 2010. this board uses the tssop20ev pcb and requires the pickit serial analyzer (see user?s guide for details). this kit also includes 1 blank tssop20ev pcb. 2: requires the use of a picdem demo board (see user?s guide for details) application note number title literature # an1080 understanding digital potentiome ters resistor variations ds01080 an737 using digital potentiometers to design low-pass adjustable filters ds00737 an692 using a digital potentiometer to optimize a precision single supply photo detect ds00692 an691 optimizing the digital potentiometer in precision circuits ds00691 an219 comparing digital potentiometers to mechanical potentiometers ds00219 ? digital potentiometer design guide ds22017 ? signal chain design guide ds21825
mcp434x/436x ds22233a-page 66 ? 2009 microchip technology inc. notes:
? 2009 microchip technology inc. ds22233a-page 67 mcp434x/436x 10.0 packaging information 10.1 package marking information legend: xx...x customer-specific information y year code (last digit of calendar year) yy year code (last 2 digits of calendar year) ww week code (week of january 1 is week ?01?) nnn alphanumeric traceability code pb-free jedec designator for matte tin (sn) * this package is pb-free. the pb-free jedec designator ( ) can be found on the outer packaging for this package. note : in the event the full microchip part nu mber cannot be marked on one line, it will be carried over to the next line, thus limiting the number of available characters for customer-specific information. 3 e 3 e 14-lead tssop xxxxxxxx yyww nnn example 4362502e 0940 256 xxxxx 20-lead qfn (4x4) xxxxxx yywwnnn example xxxxxx 4361 502eml 256 ^^ 3 e 20-lead tssop xxxxxxxx xxxxx nnn example 0940 yyww mcp4361 est 256 0940 ^^ 3 e
mcp434x/436x ds22233a-page 68 ? 2009 microchip technology inc. 
            
! "  #   !" # $% &" '  ()"&'"!&)  & #*&&  & #    ' !! #+#&"# '#% !
&"!!#% !
&"!!! & $ #,''
!#  - ' !  #&   
+., /01 / !' !  &  $ & " !**&"&&   ! +21  %   ' !("!" *&"&&   (%%' &
"
! ! " # 2& '!&" &
3 # * !(
 ! ! & 
 3  
% & & # & &&
144***'
'4
3  5&! 66++ ' !6'&! 7 78 9 7"') %! 7  & :,/0 8  ;  &  < <  # # 3 3 !!    , & #%%  , < , 8  =#& + :/0 # # 3 =#& + -  , # # 3 6  &   , , 2&6  & 6 , : , 2&
& 6 +2 2&  > < > 6 #3 !!   <  6 #=#& )  < - note 1 d n e e1 1 2 e b c a a1 a2 l1 l 
    * 0 /
? 2009 microchip technology inc. ds22233a-page 69 mcp434x/436x note: for the most current package drawings, please see the microchip packaging specification located at http://www.microchip.com/packaging
mcp434x/436x ds22233a-page 70 ? 2009 microchip technology inc. $%
  & '  ( " 
) *  ++%,   &'"! "  #   !" # $% &" '  ()"&'"!&)  & #*&&  & #     3 !! *! " & # - ' !  #&   
+., /01 / !' !  &  $ & " !**&"&&   ! +21  %   ' !("!" *&"&&   (%%' &
"
! ! " # 2& '!&" &
3 # * !(
 ! ! & 
 3  
% & & # & &&
144***'
'4
3  5&! 66++ ' !6'&! 7 78 9 7"') %! 7  & ,/0 8  ;  &     & #%%    , 0& &3 !! - +2 8  =#& + /0 +$
! # #=#& + :   8  6  &  /0 +$
! # #6  &  :   0& &=#& )  , - 0& &6  & 6 -  , 0& & & +$
! # # ?  < < d exposed pad e e2 2 1 n top view note 1 n l k b e d2 2 1 a a1 a3 bottom view 
    * 0 :/
? 2009 microchip technology inc. ds22233a-page 71 mcp434x/436x " # 2& '!&" &
3 # * !(
 ! ! & 
 3  
% & & # & &&
144***'
'4
3 
mcp434x/436x ds22233a-page 72 ? 2009 microchip technology inc. $%
            
! "  #   !" # $% &" '  ()"&'"!&)  & #*&&  & #    ' !! #+#&"# '#% !
&"!!#% !
&"!!! & $ #,''
!#  - ' !  #&   
+., /01 / !' !  &  $ & " !**&"&&   ! +21  %   ' !("!" *&"&&   (%%' &
"
! ! " # 2& '!&" &
3 # * !(
 ! ! & 
 3  
% & & # & &&
144***'
'4
3  5&! 66++ ' !6'&! 7 78 9 7"') %! 7  & :,/0 8  ;  &  < <  # # 3 3 !!    , & #%%  , < , 8  =#& + :/0 # # 3 =#& + -  , # # 3 6  &  : :, :: 2&6  & 6 , : , 2&
& 6 +2 2&  > < > 6 #3 !!   <  6 #=#& )  < - d e e1 note 1 1 2 b e a a1 a2 c l1 l n 
    * 0 /
? 2009 microchip technology inc. ds22233a-page 73 mcp434x/436x note: for the most current package drawings, please see the microchip packaging specification located at http://www.microchip.com/packaging
mcp434x/436x ds22233a-page 74 ? 2009 microchip technology inc. notes:
? 2009 microchip technology inc. ds22233a-page 75 mcp434x/436x appendix a: revision history revision a (december 2009) ? original release of this document.
mcp434x/436x ds22233a-page 76 ? 2009 microchip technology inc. notes:
? 2009 microchip technology inc. ds22233a-page 77 mcp434x/436x product identification system to order or obtain information, e.g., on pricing or de livery, refer to the factory or the listed sales office . part no. x /xx -xxx resistance package temperature range device device mcp4341: quad non-volatile 7-bit potentiometer mcp4341t: quad non-volatile 7-bit potentiometer (tape and reel) mcp4342: quad non-volatile 7-bit rheostat mcp4342t: quad non-volatile 7-bit rheostat (tape and reel) mcp4361: quad non-volatile 8-bit potentiometer mcp4361t: quad non-volatile 8-bit potentiometer (tape and reel) mcp4362: quad non-volatile 8-bit rheostat mcp4362t: quad non-volatile 8-bit rheostat (tape and reel) resistance version: 502 = 5 k 103 = 10 k 503 = 50 k 104 = 100 k temperature range e = -40 c to +125 c (extended) package st = plastic thin shrink small outline (tssop), 14/20-lead ml = plastic quad flat no-lead (4x4 qfn), 20-lead examples: a) mcp4341-502e/xx: 5 k , 20-ld device b) mcp4341t-502e/xx: t/r, 5 k , 20-ld device c) mcp4341-103e/xx: 10 k , 20-ld device d) mcp4341t-103e/xx: t/r, 10 k , 20-ld device e) mcp4341-503e/xx: 50 k , 20-ld device f) mcp4341t-503e/xx: t/r, 50 k , 20-ld device g) mcp4341-104e/xx: 100 k , 20-ld device h) mcp4341t-104e/xx: t/r, 100 k , 20-ld device a) mcp4342-502e/xx: 5 k , 14-ld device b) mcp4342t-502e/xx: t/r, 5 k , 14-ld device c) mcp4342-103e/xx: 10 k , 14-ld device d) mcp4342t-103e/xx: t/r, 10 k , 14-ld device e) mcp4342-503e/xx: 50 k , 8ld device f) mcp4342t-503e/xx: t/r, 50 k , 14-ld device g) mcp4342-104e/xx: 100 k , 14-ld device h) mcp4342t-104e/xx: t/r, 100 k , 14-ld device a) mcp4361-502e/xx: 5 k , 20-ld device b) mcp4361t-502e/xx: t/r, 5 k , 20-ld device c) mcp4361-103e/xx: 10 k , 20-ld device d) mcp4361t-103e/xx: t/r, 10 k , 20-ld device e) mcp4361-503e/xx: 50 k , 20-ld device f) mcp4361t-503e/xx: t/r, 50 k , 20-ld device g) mcp4361-104e/xx: 100 k , 20-ld device h) mcp4361t-104e/xx: t/r, 100 k , 20-ld device a) mcp4362-502e/xx: 5 k , 14-ld device b) mcp4362t-502e/xx: t/r, 5 k , 14-ld device c) mcp4362-103e/xx: 10 k , 14-ld device d) mcp4362t-103e/xx: t/r, 10 k , 14-ld device e) mcp4362-503e/xx: 50 k , 14-ld device f) mcp4362t-503e/xx: t/r, 50 k , 14-ld device g) mcp4362-104e/xx: 100 k , 14-ld device h) mcp4362t-104e/xx: t/r, 100 k , 14-ld device xx = st for 14/20-lead tssop = ml for 20-lead qfn version
mcp434x/436x ds22233a-page 78 ? 2009 microchip technology inc. notes:
? 2009 microchip technology inc. ds22233a-page 79 information contained in this publication regarding device applications and the like is prov ided only for your convenience and may be superseded by updates. it is your responsibility to ensure that your application me ets with your specifications. microchip makes no representations or warranties of any kind whether express or implied, written or oral, statutory or otherwise, related to the information, including but not limited to its condition, quality, performance, merchantability or fitness for purpose . microchip disclaims all liability arising from this information and its use. use of microchip devices in life support and/or safe ty applications is entirely at the buyer?s risk, and the buyer agrees to defend, indemnify and hold harmless microchip from any and all damages, claims, suits, or expenses resulting fr om such use. no licenses are conveyed, implicitly or ot herwise, under any microchip intellectual property rights. trademarks the microchip name and logo, th e microchip logo, dspic, k ee l oq , k ee l oq logo, mplab, pic, picmicro, picstart, rfpic and uni/o are registered trademarks of microchip technology incorporated in the u.s.a. and other countries. filterlab, hampshire, hi-tech c, linear active thermistor, mxdev, mxlab, seeval and the embedded control solutions company are register ed trademarks of microchip technology incorporated in the u.s.a. analog-for-the-digital age, a pplication maestro, codeguard, dspicdem, dspicdem.net, dspicworks, dsspeak, ecan, economonitor, fansense, hi-tide, in-circuit serial programming, icsp, mindi, miwi, mpasm, mplab certified logo, mplib, mplink, mtouch, octopus, omniscient code generation, picc, picc-18, picdem, picdem.net, pickit, pictail, pic 32 logo, real ice, rflab, select mode, total endurance, tsharc, uniwindr iver, wiperlock and zena are trademarks of microchip te chnology incorporated in the u.s.a. and other countries. sqtp is a service mark of mi crochip technology incorporated in the u.s.a. all other trademarks mentioned herein are property of their respective companies. ? 2009, microchip technology incorporated, printed in the u.s.a., all rights reserved. printed on recycled paper. note the following details of the code protection feature on microchip devices: ? microchip products meet the specification cont ained in their particular microchip data sheet. ? microchip believes that its family of products is one of the mo st secure families of its kind on the market today, when used i n the intended manner and under normal conditions. ? there are dishonest and possibly illegal meth ods used to breach the code protection fe ature. all of these methods, to our knowledge, require using the microchip pr oducts in a manner outside the operating specif ications contained in microchip?s data sheets. most likely, the person doing so is engaged in theft of intellectual property. ? microchip is willing to work with the customer who is concerned about the integrity of their code. ? neither microchip nor any other semiconduc tor manufacturer can guarantee the security of their code. code protection does not mean that we are guaranteeing the product as ?unbreakable.? code protection is constantly evolving. we at microchip are committed to continuously improving the code protection features of our products. attempts to break microchip?s c ode protection feature may be a violation of the digital millennium copyright act. if such acts allow unauthorized access to your softwa re or other copyrighted work, you may have a right to sue for relief under that act. microchip received iso/ts-16949:2002 certification for its worldwide headquarters, design and wafer fabrication facilities in chandler and tempe, arizona; gresham, oregon and design centers in california and india. the company?s quality system processes and procedures are for its pic ? mcus and dspic ? dscs, k ee l oq ? code hopping devices, serial eeproms, microperi pherals, nonvolatile memory and analog products. in addition, microchip?s quality system for the design and manufacture of development systems is iso 9001:2000 certified.
ds22233a-page 80 ? 2009 microchip technology inc. americas corporate office 2355 west chandler blvd. chandler, az 85224-6199 tel: 480-792-7200 fax: 480-792-7277 technical support: http://support.microchip.com web address: www.microchip.com atlanta duluth, ga tel: 678-957-9614 fax: 678-957-1455 boston westborough, ma tel: 774-760-0087 fax: 774-760-0088 chicago itasca, il tel: 630-285-0071 fax: 630-285-0075 cleveland independence, oh tel: 216-447-0464 fax: 216-447-0643 dallas addison, tx tel: 972-818-7423 fax: 972-818-2924 detroit farmington hills, mi tel: 248-538-2250 fax: 248-538-2260 kokomo kokomo, in tel: 765-864-8360 fax: 765-864-8387 los angeles mission viejo, ca tel: 949-462-9523 fax: 949-462-9608 santa clara santa clara, ca tel: 408-961-6444 fax: 408-961-6445 toronto mississauga, ontario, canada tel: 905-673-0699 fax: 905-673-6509 asia/pacific asia pacific office suites 3707-14, 37th floor tower 6, the gateway harbour city, kowloon hong kong tel: 852-2401-1200 fax: 852-2401-3431 australia - sydney tel: 61-2-9868-6733 fax: 61-2-9868-6755 china - beijing tel: 86-10-8528-2100 fax: 86-10-8528-2104 china - chengdu tel: 86-28-8665-5511 fax: 86-28-8665-7889 china - hong kong sar tel: 852-2401-1200 fax: 852-2401-3431 china - nanjing tel: 86-25-8473-2460 fax: 86-25-8473-2470 china - qingdao tel: 86-532-8502-7355 fax: 86-532-8502-7205 china - shanghai tel: 86-21-5407-5533 fax: 86-21-5407-5066 china - shenyang tel: 86-24-2334-2829 fax: 86-24-2334-2393 china - shenzhen tel: 86-755-8203-2660 fax: 86-755-8203-1760 china - wuhan tel: 86-27-5980-5300 fax: 86-27-5980-5118 china - xiamen tel: 86-592-2388138 fax: 86-592-2388130 china - xian tel: 86-29-8833-7252 fax: 86-29-8833-7256 china - zhuhai tel: 86-756-3210040 fax: 86-756-3210049 asia/pacific india - bangalore tel: 91-80-3090-4444 fax: 91-80-3090-4080 india - new delhi tel: 91-11-4160-8631 fax: 91-11-4160-8632 india - pune tel: 91-20-2566-1512 fax: 91-20-2566-1513 japan - yokohama tel: 81-45-471- 6166 fax: 81-45-471-6122 korea - daegu tel: 82-53-744-4301 fax: 82-53-744-4302 korea - seoul tel: 82-2-554-7200 fax: 82-2-558-5932 or 82-2-558-5934 malaysia - kuala lumpur tel: 60-3-6201-9857 fax: 60-3-6201-9859 malaysia - penang tel: 60-4-227-8870 fax: 60-4-227-4068 philippines - manila tel: 63-2-634-9065 fax: 63-2-634-9069 singapore tel: 65-6334-8870 fax: 65-6334-8850 taiwan - hsin chu tel: 886-3-6578-300 fax: 886-3-6578-370 taiwan - kaohsiung tel: 886-7-536-4818 fax: 886-7-536-4803 taiwan - taipei tel: 886-2-2500-6610 fax: 886-2-2508-0102 thailand - bangkok tel: 66-2-694-1351 fax: 66-2-694-1350 europe austria - wels tel: 43-7242-2244-39 fax: 43-7242-2244-393 denmark - copenhagen tel: 45-4450-2828 fax: 45-4485-2829 france - paris tel: 33-1-69-53-63-20 fax: 33-1-69-30-90-79 germany - munich tel: 49-89-627-144-0 fax: 49-89-627-144-44 italy - milan tel: 39-0331-742611 fax: 39-0331-466781 netherlands - drunen tel: 31-416-690399 fax: 31-416-690340 spain - madrid tel: 34-91-708-08-90 fax: 34-91-708-08-91 uk - wokingham tel: 44-118-921-5869 fax: 44-118-921-5820 w orldwide s ales and s ervice 03/26/09


▲Up To Search▲   

 
Price & Availability of MCP4331

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X